woodpecker/.golangci.yml
2021-11-26 00:03:19 +01:00

29 lines
445 B
YAML

linters-settings:
gofmt:
simplify: true
misspell:
locale: US
linters:
disable-all: true
enable:
- gofmt
- goimports
- govet
- deadcode
- gosimple
- typecheck
- errcheck
- bidichk
- misspell
- whitespace
- staticcheck
- varcheck
run:
timeout: 5m
issues:
exclude-rules:
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
linters:
- deadcode