mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-05 22:17:39 +03:00
Add more linters to .golangci.yml
In particular, add godox to remind me of these //TODO
This commit is contained in:
parent
bdd243668b
commit
095676022f
2 changed files with 28 additions and 0 deletions
|
@ -14,3 +14,8 @@ linters:
|
||||||
- prealloc
|
- prealloc
|
||||||
- unconvert
|
- unconvert
|
||||||
- misspell
|
- misspell
|
||||||
|
- whitespace
|
||||||
|
- nakedret
|
||||||
|
- dogsled
|
||||||
|
- godox
|
||||||
|
- dupl
|
||||||
|
|
23
tests/golangci-noisy.yml
Normal file
23
tests/golangci-noisy.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue