golangci-lint: sort linters in config file
THis makes it easier to find which linters are enabled when going through the list. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3ebeb6d79b
commit
0eaace3066
@ -1,19 +1,19 @@
|
|||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- structcheck
|
- exportloopref # Checks for pointers to enclosing loop variables
|
||||||
- varcheck
|
|
||||||
- staticcheck
|
|
||||||
- unconvert
|
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
- revive
|
|
||||||
- ineffassign
|
|
||||||
- vet
|
|
||||||
- unused
|
|
||||||
- misspell
|
|
||||||
- gosec
|
- gosec
|
||||||
- exportloopref # Checks for pointers to enclosing loop variables
|
- ineffassign
|
||||||
|
- misspell
|
||||||
|
- revive
|
||||||
|
- staticcheck
|
||||||
|
- structcheck
|
||||||
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
|
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
|
||||||
|
- unconvert
|
||||||
|
- unused
|
||||||
|
- varcheck
|
||||||
|
- vet
|
||||||
disable:
|
disable:
|
||||||
- errcheck
|
- errcheck
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user