Commit 9eae3eb
committed
🐛 enable
This PR adds the `import-shadowing` linter to all `.golangci.yml` configuration files across test projects and templates.
The `import-shadowing` linter detects cases where a package import shadows an existing variable, which can lead to subtle bugs.import-shadowing linter in .golangci.yml files1 parent 61b7c73 commit 9eae3eb
File tree
7 files changed
+7
-0
lines changed- docs/book/src
- cronjob-tutorial/testdata/project
- getting-started/testdata/project
- multiversion-tutorial/testdata/project
- pkg/plugins/golang/v4/scaffolds/internal/templates
- testdata
- project-v4-multigroup
- project-v4-with-plugins
- project-v4
7 files changed
+7
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
0 commit comments