diff --git a/backend/.golangci-fast.yml b/backend/.golangci-fast.yml index 53ffd53f..e9b54d63 100644 --- a/backend/.golangci-fast.yml +++ b/backend/.golangci-fast.yml @@ -31,13 +31,3 @@ linters: - G501 # Blacklisted import crypto/md5 - G502 # Blacklisted import crypto/des - G503 # Blacklisted import crypto/rc4 - -issues: - exclude-use-default: false - exclude-dirs: - - vendor - exclude-files: - - ".*\\.gen\\.go$" - exclude: - # Allow test-specific patterns - - 'Error return value of `.*(json\.Unmarshal|SetPassword|CreateProvider).*` is not checked' diff --git a/backend/.golangci.yml b/backend/.golangci.yml index bfb43f68..7efc1fd6 100644 --- a/backend/.golangci.yml +++ b/backend/.golangci.yml @@ -55,18 +55,3 @@ linters: - (*database/sql.Rows).Close - (gorm.io/gorm.Migrator).DropTable - (*net/http.Response.Body).Close - -issues: - exclude-use-default: false - exclude: - # Gosec exclusions - be specific to avoid hiding real issues - # G104: Ignoring return values - already checked by errcheck - - "G104:" - # Allow shadow warnings in specific patterns - - "shadows declaration" - exclude-dirs: - - vendor - exclude-files: - - ".*_test\\.go$" # Test-specific exclusions handled via patterns - max-issues-per-linter: 0 - max-same-issues: 0