Skip to content

Commit

Permalink
chore: enable some useful linters (#12239)
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Clucas <alan@clucas.org>
  • Loading branch information
Joibel authored Nov 22, 2023
1 parent be70166 commit a9f94d0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,24 @@ run:
- plugins
linters:
enable:
- asasalint
- bidichk
- bodyclose
- errcheck
- exportloopref
- goimports
# only minor issues
# - errorlint
- exportloopref
# seems to have bugs in recent version, also slow
# - gci
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nosprintfhostport
- reassign
- rowserrcheck
- sqlclosecheck
- staticcheck
Expand Down

0 comments on commit a9f94d0

Please sign in to comment.