summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-10 10:26:39 -0500
committerGitHub <noreply@github.com>2021-02-10 10:26:39 -0500
commit871562f9fe0d9b2b8975bd30ac07f94054f8bef9 (patch)
tree2efcf8a7e0ab05fd6e22a88a38b8ed071d41f05b /.golangci.yml
parentb4ca924365869d73aecd10bb99656b99ab8bf0ae (diff)
parent68133414f42483c5122d2fe6916e179cbbb9d756 (diff)
downloadpodman-871562f9fe0d9b2b8975bd30ac07f94054f8bef9.tar.gz
podman-871562f9fe0d9b2b8975bd30ac07f94054f8bef9.tar.bz2
podman-871562f9fe0d9b2b8975bd30ac07f94054f8bef9.zip
Merge pull request #9294 from matejvasek/update_linter
Update golangci-lint
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