2020-05-04 23:00:21 +02:00
|
|
|
linters:
|
|
|
|
run:
|
|
|
|
concurrency: 2
|
2020-05-06 15:28:03 +02:00
|
|
|
skip-dirs:
|
2020-05-12 17:26:11 +02:00
|
|
|
- tests/composefiles
|
2020-05-04 23:00:21 +02:00
|
|
|
enable-all: false
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- deadcode
|
|
|
|
- errcheck
|
|
|
|
- gocyclo
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
2021-05-19 17:00:13 +02:00
|
|
|
- revive
|
2020-05-04 23:00:21 +02:00
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- lll
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
linters-settings:
|
|
|
|
gocyclo:
|
|
|
|
min-complexity: 16
|
|
|
|
lll:
|
|
|
|
line-length: 200
|
|
|
|
issues:
|
2020-05-04 23:50:00 +02:00
|
|
|
# golangci hides some golint warnings (the warning about exported things
|
|
|
|
# withtout documentation for example), this will make it show them anyway.
|
|
|
|
exclude-use-default: false
|
2020-05-05 17:55:53 +02:00
|
|
|
exclude:
|
|
|
|
- should not use dot imports
|