mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
34 lines
512 B
YAML
34 lines
512 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
|
|
- structcheck
|
|
- varcheck
|
|
- ineffassign
|
|
- unused
|
|
|
|
run:
|
|
timeout: 5m
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
linters:
|
|
- deadcode
|
|
- unused
|