Commit eee1454
authored
fix: Disable unparam linter due to Go generics panic (#199)
The unparam linter panics when analyzing code that uses Go generics with
type constraints (e.g., ~string). This is a known upstream issue in the
underlying Go types package.
Workaround: Disable unparam globally and rely on revive's unused-parameter
rule for similar coverage.
See: golangci/golangci-lint#5254
Co-authored-by: Ben Coombs <[email protected]>1 parent 699356a commit eee1454
1 file changed
+4
-3
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 | | |
| |||
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
191 | | - | |
192 | | - | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
0 commit comments