Commit b5363da
committed
fix: Exclude unparam for ledger package to avoid panic on generics
The unparam linter panics when analyzing code with Go generics that use
type constraints (like UnitMarker with ~string). This is a known issue
with golangci-lint's handling of generic types in Go 1.25.
Excludes unparam for pkg/platform/ledger/ to allow the generic Quantity[U]
type to be linted by other linters without causing CI failures.1 parent 93938b2 commit b5363da
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| |||
0 commit comments