Skip to content

Commit

Permalink
golangci-lint: sort linters in config file
Browse files Browse the repository at this point in the history
THis makes it easier to find which linters are enabled when going through
the list.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Oct 12, 2022
1 parent 3ebeb6d commit 0eaace3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
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

Expand Down

0 comments on commit 0eaace3

Please sign in to comment.