1
0
Fork 0

ci: reduce memory consumption of the linter

This commit is contained in:
Ludovic Fernandez 2019-10-09 11:48:04 +02:00 committed by Traefiker Bot
parent c87a37f804
commit ff31e75ccc
5 changed files with 13 additions and 11 deletions

View file

@ -1,6 +1,9 @@
[run]
deadline = "10m"
skip-files = []
skip-dirs = [
"pkg/provider/kubernetes/crd/generated/",
]
[linters-settings]
@ -40,9 +43,11 @@
"scopelint",
"gochecknoinits",
"gochecknoglobals",
# "godox", # manage TODO FIXME ## wait for https://github.com/golangci/golangci-lint/issues/337
"godox",
"gocognit",
"bodyclose", # Too many false-positive and panics.
# "stylecheck", # skip because report issues related to some generated files. ## wait for https://github.com/golangci/golangci-lint/issues/337
"wsl", # Too strict
"stylecheck", # skip because report issues related to some generated files.
]
[issues]