Add more linters to .golangci.yml

In particular, add godox to remind me of these //TODO
This commit is contained in:
fox.cpp 2020-02-28 02:33:48 +03:00
parent bdd243668b
commit 095676022f
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
2 changed files with 28 additions and 0 deletions

View file

@ -14,3 +14,8 @@ linters:
- prealloc
- unconvert
- misspell
- whitespace
- nakedret
- dogsled
- godox
- dupl

23
tests/golangci-noisy.yml Normal file
View file

@ -0,0 +1,23 @@
linters:
enable:
- gosimple
- structcheck
- varcheck
- errcheck
- staticcheck
- ineffassign
- deadcode
- typecheck
- govet
- unused
- goimports
- prealloc
- unconvert
- misspell
- whitespace
- nakedret
- dogsled
- godox
- gocyclo
- dupl
- unparam