diff --git a/backend/.golangci-fast.yml b/backend/.golangci-fast.yml index acf0c621..e9b54d63 100644 --- a/backend/.golangci-fast.yml +++ b/backend/.golangci-fast.yml @@ -12,7 +12,7 @@ linters: - ineffassign # Ineffectual assignments - unused # Unused code detection - gosec # Security checks (critical issues only) - linters-settings: + settings: govet: enable: - shadow diff --git a/backend/.golangci.yml b/backend/.golangci.yml index c89d75aa..4663bd4d 100644 --- a/backend/.golangci.yml +++ b/backend/.golangci.yml @@ -1,5 +1,5 @@ # golangci-lint configuration -version: 2 +version: "2" run: timeout: 5m tests: true @@ -14,7 +14,7 @@ linters: - staticcheck - unused - errcheck - linters-settings: + settings: gocritic: enabled-tags: - diagnostic