woodpecker/.golangci.yml

36 lines
525 B
YAML
Raw Normal View History

linters-settings:
gofmt:
simplify: true
misspell:
locale: US
linters:
disable-all: true
enable:
- bidichk
- deadcode
- errcheck
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- misspell
- revive
- staticcheck
2021-11-25 23:27:43 +00:00
- structcheck
- typecheck
2021-11-27 14:29:37 +00:00
- unused
- varcheck
- whitespace
2021-11-25 23:27:43 +00:00
run:
timeout: 5m
issues:
exclude-rules:
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
linters:
- deadcode
2021-11-27 14:29:37 +00:00
- unused