mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
39 lines
597 B
YAML
39 lines
597 B
YAML
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
misspell:
|
|
locale: US
|
|
gofumpt:
|
|
lang-version: "1.16"
|
|
extra-rules: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bidichk
|
|
- deadcode
|
|
- errcheck
|
|
- gofmt
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- revive
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
- gofumpt
|
|
|
|
run:
|
|
timeout: 5m
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
linters:
|
|
- deadcode
|
|
- unused
|