summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-09 19:23:32 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-10 13:25:40 +0100
commit68133414f42483c5122d2fe6916e179cbbb9d756 (patch)
treec90101746e07b03231cb4aa0993aee8c127aba32 /.golangci.yml
parent2d829aeb1fe0dc19c45e796141ab78ff192b5dbb (diff)
downloadpodman-68133414f42483c5122d2fe6916e179cbbb9d756.tar.gz
podman-68133414f42483c5122d2fe6916e179cbbb9d756.tar.bz2
podman-68133414f42483c5122d2fe6916e179cbbb9d756.zip
[NO TESTS NEEDED] Update linter
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index da22b7602..6e46d55cd 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -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