diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-04 22:08:21 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-05 12:23:19 +0200 |
| commit | 4ac8a30aa820fcc0566e5c0a89be222c3c847543 (patch) | |
| tree | 41604eaac6d8c6b48f983e83df9c09a9f8c8ab38 | |
| parent | 6c22a3d2ddd599dab260b2d36d91b0292254893c (diff) | |
.golangci.yml: explicitly list disabled checkers
These are disabled by default, so this does not change behavior.
But it's good to see whole list and this makes it clear
that they are not missed accidentially.
| -rw-r--r-- | .golangci.yml | 15 |
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: |
