woodpecker/.golangci.yml
2022-01-06 07:44:14 +01:00

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