2021-11-14 20:01:54 +00:00
|
|
|
linters-settings:
|
|
|
|
gofmt:
|
2021-11-14 21:33:45 +00:00
|
|
|
simplify: true
|
2021-11-24 01:01:12 +00:00
|
|
|
misspell:
|
|
|
|
locale: US
|
2021-11-14 20:01:54 +00:00
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
2021-12-01 13:43:35 +00:00
|
|
|
- bidichk
|
|
|
|
- deadcode
|
|
|
|
- errcheck
|
2021-11-14 20:01:54 +00:00
|
|
|
- gofmt
|
|
|
|
- goimports
|
2021-11-23 14:36:52 +00:00
|
|
|
- gosimple
|
2021-12-01 13:43:35 +00:00
|
|
|
- govet
|
|
|
|
- ineffassign
|
2021-11-24 01:01:12 +00:00
|
|
|
- misspell
|
2021-12-01 13:43:35 +00:00
|
|
|
- revive
|
2021-11-25 16:15:36 +00:00
|
|
|
- staticcheck
|
2021-11-25 23:27:43 +00:00
|
|
|
- structcheck
|
2021-12-01 13:43:35 +00:00
|
|
|
- typecheck
|
2021-11-27 14:29:37 +00:00
|
|
|
- unused
|
2021-12-01 13:43:35 +00:00
|
|
|
- varcheck
|
|
|
|
- whitespace
|
2021-11-25 23:27:43 +00:00
|
|
|
|
2021-11-16 20:07:53 +00:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
2021-11-23 14:36:52 +00:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
|
|
linters:
|
|
|
|
- deadcode
|
2021-11-27 14:29:37 +00:00
|
|
|
- unused
|