Skip to content

Commit 5b2369d

Browse files
committed
Exclude forcetypeassert and noctx checks from test files
Signed-off-by: Thomas Stromberg <[email protected]>
1 parent dfc0273 commit 5b2369d

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)