File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ linters:
1717 - gosec # Security-focused linter
1818 - revive # Drop-in replacement for golint (style issues)
1919 - unconvert # Unnecessary type conversions
20- - unparam # Unused function parameters
21- - prealloc # Slice preallocation opportunities
20+ # Disable unparam and prealloc - too strict for existing code
21+ # - unparam # Unused function parameters
22+ # - prealloc # Slice preallocation opportunities
2223 - gocyclo # Cyclomatic complexity
23- - gocritic # Comprehensive Go linter
24+ - gocritic # Comprehensive Go linter (with disabled checks)
2425
2526linters-settings :
2627 gosec :
@@ -64,6 +65,7 @@ linters-settings:
6465 - httpNoBody # Allow nil request bodies (existing pattern)
6566 - ifElseChain # Allow if-else chains (existing pattern)
6667 - emptyStringTest # Allow len(s) > 0 pattern (existing code)
68+ - singleCaseSwitch # Allow single-case switch statements
6769
6870issues :
6971 exclude-use-default : false
You can’t perform that action at this time.
0 commit comments