1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00
woodpecker/.golangci.yml
2022-01-06 07:44:14 +01:00

40 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