Commit 5994389
committed
fix: wire nilaway as a golangci-lint module plugin
nilaway is not bundled in golangci-lint v2.x due to false-positive
risk (see uber-go/nilaway#4045). Use the module plugin system instead:
- Add .custom-gcl.yml with the plugin definition (go.uber.org/nilaway)
- Configure nilaway as a custom linter in .golangci.yaml with
include-pkgs scoped to this module1 parent 491ec1e commit 5994389
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
0 commit comments