summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-21 10:28:35 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-21 10:42:53 +0100
commit026bd9b2055fd65f7eabf1f2d435e43e3801cf84 (patch)
treece98688fa2b8d3dcef9ad891f13414d5225d2352 /.golangci.yml
parent447e947aed160de86d1bb3d2f09a3628a25a7511 (diff)
downloadpodman-026bd9b2055fd65f7eabf1f2d435e43e3801cf84.tar.gz
podman-026bd9b2055fd65f7eabf1f2d435e43e3801cf84.tar.bz2
podman-026bd9b2055fd65f7eabf1f2d435e43e3801cf84.zip
bump golangci-lint to v1.45.0
* supports Go 1.18 * disable a number of new linters * fix minor stylecheck issues [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index f3338b9ae..c9c9ec2ac 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -51,6 +51,23 @@ linters:
- gocritic
- gosec
- maligned
+ - gomoddirectives
+ - revive
+ - containedctx
+ - contextcheck
+ - cyclop
+ - errname
+ - forcetypeassert
+ - ineffassign
+ - ireturn
+ - tagliatelle
+ - varnamelen
+ - errchkjson
+ - maintidx
+ - nilerr
+ - wastedassign
+ - nilnil
+ - interfacer
linters-settings:
errcheck:
check-blank: false