Commit 09f588d
committed
Exclude revive's new stdlib-shadowing var-naming check
The golangci-lint v2.9.0 upgrade (previous commit) brought in a newer
revive with an additional var-naming sub-check that flags package
names shadowing Go stdlib package names. It flags three long-standing,
intentional package names in this codebase that predate this PR and
are unrelated to the x/net/Go-version bump: `fs`
(internal/third_party/dep/fs), `driver` (pkg/storage/driver), and
`version` (internal/version). Excluding by the same pattern already
used for revive's redefines-builtin-id exclusions above, rather than
renaming stable, widely-referenced packages to satisfy a newly-enabled
check.
Ref: HELM-8211 parent 130ab94 commit 09f588d
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
0 commit comments