golangci-lint: sort linters in config file
THis makes it easier to find which linters are enabled when going through
the list.
linters:
enable:
- - structcheck
- - varcheck
- - staticcheck
- - unconvert
+ - exportloopref # Checks for pointers to enclosing loop variables
- gofmt
- goimports
- - revive
+ - gosec
- ineffassign
- - vet
- - unused
- misspell
- - gosec
- - exportloopref # Checks for pointers to enclosing loop variables
+ - revive
+ - staticcheck
+ - structcheck
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
+ - unconvert
+ - unused
+ - varcheck
+ - vet
disable:
- errcheck
