From 4ac8a30aa820fcc0566e5c0a89be222c3c847543 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 4 Jun 2020 22:08:21 +0200 Subject: .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. --- .golangci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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: -- cgit mrf-deployment