woodpecker/.golangci.yml
6543 fe31fb1e06
Drop error only on purpose or else report back or log (#514)
- Remove Deadcode
- Simplify Code
- Drop error only on purpose
2021-11-23 15:36:52 +01:00

24 lines
354 B
YAML

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