diff --git a/.golangci.yaml b/.golangci.yaml index 108059f..f93ea16 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -135,7 +135,7 @@ linters-settings: nolintlint: # Exclude following linters from requiring an explanation. # Default: [] - allow-no-explanation: [ funlen, gocognit, lll ] + allow-no-explanation: [ funlen, gocognit, lll, errcheck ] # Enable to require an explanation of nonzero length after each nolint directive. # Default: false require-explanation: true @@ -143,6 +143,11 @@ linters-settings: # Default: false require-specific: true + revive: + rules: + - name: blank-imports + disabled: true + rowserrcheck: # database/sql is always checked # Default: []