diff --git a/.golangci.yaml b/.golangci.yaml index 1188b9f..389679b 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -76,8 +76,13 @@ linters-settings: # created file permissions are restricted by umask if necessary - G306 govet: - # Report about shadowed variables. - check-shadowing: true + enable-all: true + disable: + - fieldalignment + settings: + shadow: + # Report about shadowed variables. + strict: true nolintlint: require-specific: true stylecheck: diff --git a/internal/golangcilint/golangci_lint.go b/internal/golangcilint/golangci_lint.go index 129184d..47e8133 100644 --- a/internal/golangcilint/golangci_lint.go +++ b/internal/golangcilint/golangci_lint.go @@ -111,8 +111,13 @@ linters-settings: # created file permissions are restricted by umask if necessary - G306 govet: - # Report about shadowed variables. - check-shadowing: true + enable-all: true + disable: + - fieldalignment + settings: + shadow: + # Report about shadowed variables. + strict: true nolintlint: require-specific: true {{- if .MisspellIgnoreWords }}