Commit 7e82ea5
committed
fix: Disable unparam linter to fix panic on Go generics
The unparam linter panics when analyzing Go code with type constraints
(e.g., ~string). This is a known issue affecting Go generics.
See: golangci/golangci-lint#5254
Changes:
- Disable unparam globally (path exclusions don't prevent analysis panics)
- Add err113 and errorlint to test file exclusions for cleaner assertions
- revive's unused-parameter rule provides similar coverage for production code1 parent b5363da commit 7e82ea5
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 113 | | |
116 | 114 | | |
117 | 115 | | |
| |||
0 commit comments