1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/.golangci.yml

32 lines
464 B
YAML
Raw Normal View History

linters-settings:
gofmt:
simplify: true
misspell:
locale: US
linters:
disable-all: true
enable:
- gofmt
- goimports
- govet
- deadcode
- gosimple
- typecheck
- errcheck
- bidichk
- misspell
2021-11-24 02:31:11 +02:00
- whitespace
- staticcheck
2021-11-26 01:27:43 +02:00
- structcheck
2021-11-26 01:03:19 +02:00
- varcheck
2021-11-26 01:27:43 +02:00
run:
timeout: 5m
issues:
exclude-rules:
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
linters:
- deadcode