mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
fac0e16996
* Add linter staticcheck Co-authored-by: 6543 <6543@obermui.de>
29 lines
431 B
YAML
29 lines
431 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
|
|
|
|
run:
|
|
timeout: 5m
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
linters:
|
|
- deadcode
|