[NO TESTS NEEDED] Update linter

Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
Matej Vasek
2021-02-09 19:23:32 +01:00
parent 2d829aeb1f
commit 68133414f4
5 changed files with 33 additions and 4 deletions

View File

@ -4,6 +4,7 @@ run:
deadline: 5m
skip-dirs-use-default: true
skip-dirs:
- dependencies
- contrib
- dependencies
- test
@ -17,6 +18,34 @@ linters:
enable-all: true
disable:
# All these break for one reason or another
- nolintlint
- gocognit
- stylecheck
- testpackage
- goerr113
- exhaustivestruct
- errorlint
- wrapcheck
- paralleltest
- wsl
- godox
- tparallel
- gomnd
- nlreturn
- noctx
- nestif
- predeclared
- thelper
- ifshort
- staticcheck
- forbidigo
- exhaustive
- whitespace
- unparam
- gofumpt
- gci
- godot
- makezero
- dupl
- funlen
- gochecknoglobals