Skip to content

Commit 8f846e1

Browse files
authored
Merge pull request tinkerbell#17 from tstromberg/not-in-tests
Exclude forcetypeassert and noctx checks from test files
2 parents e87abfd + 5b2369d commit 8f846e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.golangci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,12 @@ issues:
173173
exclude-rules:
174174
- path: _test\.go
175175
linters:
176-
- gocyclo
177-
- errcheck
178176
- dupl
177+
- errcheck
178+
- forcetypeassert
179+
- gocyclo
179180
- gosec
181+
- noctx
180182

181183
- path: cmd.*
182184
linters:

0 commit comments

Comments
 (0)