Skip to content

Commit bbc850a

Browse files
Avoid GoLangCI Lint excluding rules by default
In order to make your code the best possible let's only exclude things explicitly.
1 parent 22b1478 commit bbc850a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ linters:
2424
- varcheck
2525
- vet
2626
- vetshadow
27+
28+
issues:
29+
exclude-use-default: false
30+
exclude-rules:
31+
- path: _test\.go
32+
linters:
33+
- errcheck

0 commit comments

Comments
 (0)