2020-05-05 00:00:21 +03:00
|
|
|
linters:
|
|
|
|
run:
|
|
|
|
concurrency: 2
|
2020-05-06 16:28:03 +03:00
|
|
|
skip-dirs:
|
2020-05-12 18:26:11 +03:00
|
|
|
- tests/composefiles
|
2020-05-05 00:00:21 +03:00
|
|
|
enable-all: false
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- deadcode
|
|
|
|
- errcheck
|
|
|
|
- gocyclo
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
2021-05-19 18:00:13 +03:00
|
|
|
- revive
|
2020-05-05 00:00:21 +03: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-05 00:50:00 +03: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 18:55:53 +03:00
|
|
|
exclude:
|
|
|
|
- should not use dot imports
|