chore(lint): add new linters and update codebase

- add canonicalheader
- add copyloopvar
- add fatcontext
- add intrange
This commit is contained in:
Quentin McGaw
2024-10-11 18:28:00 +00:00
parent 3c8e80a1a4
commit abe9dcbe33
77 changed files with 8 additions and 116 deletions

View File

@@ -38,7 +38,6 @@ func Test_isDeleteMatchInstruction(t *testing.T) {
},
}
for name, testCase := range testCases {
testCase := testCase
t.Run(name, func(t *testing.T) {
t.Parallel()
@@ -161,7 +160,6 @@ func Test_deleteIPTablesRule(t *testing.T) {
}
for name, testCase := range testCases {
testCase := testCase
t.Run(name, func(t *testing.T) {
t.Parallel()
ctrl := gomock.NewController(t)