2021-11-14 22:01:54 +02:00
|
|
|
linters-settings:
|
|
|
|
gofmt:
|
2021-11-14 23:33:45 +02:00
|
|
|
simplify: true
|
2021-11-24 03:01:12 +02:00
|
|
|
misspell:
|
|
|
|
locale: US
|
2021-11-14 22:01:54 +02:00
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- govet
|
2021-11-23 16:36:52 +02:00
|
|
|
- deadcode
|
|
|
|
- gosimple
|
|
|
|
- typecheck
|
|
|
|
- errcheck
|
2021-11-16 22:07:53 +02:00
|
|
|
- bidichk
|
2021-11-24 03:01:12 +02:00
|
|
|
- misspell
|
2021-11-24 02:31:11 +02:00
|
|
|
- whitespace
|
2021-11-16 22:07:53 +02:00
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 5m
|
2021-11-23 16:36:52 +02:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
|
|
linters:
|
|
|
|
- deadcode
|