aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.golangci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
index db5ea28cb..e1d0b0b48 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -37,8 +37,22 @@ linters:
- whitespace
- nestif
disable:
+ - bodyclose
+ - depguard
+ - dogsled
+ - gochecknoglobals
+ - gochecknoinits
+ - godox
+ - goimports
+ - gomnd
+ - gomodguard
+ - gosec
+ - maligned
+ - rowserrcheck
+ - testpackage
- typecheck
- ineffassign
+ # errcheck would be good to enable, but we need to fix existing warnings first.
- errcheck
- interfacer
- unparam
@@ -46,6 +60,7 @@ linters:
- prealloc
- scopelint
- gocritic
+ - wsl
linters-settings:
lll: