2021-11-14 21:01:54 +01:00
|
|
|
linters-settings:
|
|
|
|
gofmt:
|
2021-11-14 22:33:45 +01:00
|
|
|
simplify: true
|
2021-11-24 02:01:12 +01:00
|
|
|
misspell:
|
|
|
|
locale: US
|
2022-01-06 07:44:14 +01:00
|
|
|
gofumpt:
|
|
|
|
lang-version: "1.16"
|
|
|
|
extra-rules: true
|
2021-11-14 21:01:54 +01:00
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
2021-12-01 14:43:35 +01:00
|
|
|
- bidichk
|
|
|
|
- deadcode
|
|
|
|
- errcheck
|
2021-11-14 21:01:54 +01:00
|
|
|
- gofmt
|
|
|
|
- goimports
|
2021-11-23 15:36:52 +01:00
|
|
|
- gosimple
|
2021-12-01 14:43:35 +01:00
|
|
|
- govet
|
|
|
|
- ineffassign
|
2021-11-24 02:01:12 +01:00
|
|
|
- misspell
|
2021-12-01 14:43:35 +01:00
|
|
|
- revive
|
2021-11-25 17:15:36 +01:00
|
|
|
- staticcheck
|
2021-11-26 00:27:43 +01:00
|
|
|
- structcheck
|
2021-12-01 14:43:35 +01:00
|
|
|
- typecheck
|
2021-11-27 15:29:37 +01:00
|
|
|
- unused
|
2021-12-01 14:43:35 +01:00
|
|
|
- varcheck
|
|
|
|
- whitespace
|
2022-01-06 07:44:14 +01:00
|
|
|
- gofumpt
|
2021-11-26 00:27:43 +01:00
|
|
|
|
2021-11-16 21:07:53 +01:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
2021-11-23 15:36:52 +01:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: woodpecker-go/woodpecker/client.go|server/swagger/swagger.go
|
|
|
|
linters:
|
|
|
|
- deadcode
|
2021-11-27 15:29:37 +01:00
|
|
|
- unused
|