Skip to content

Commit

Permalink
[CI] Enable gocritic and lint
Browse files Browse the repository at this point in the history
Update .golangci-lint.yml to enable gocritic and resolve a couple of detected coding style issues (does not affect hash digest).
  • Loading branch information
fxamacker authored Aug 4, 2024
1 parent 4ba23fb commit 0e30fa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ linters-settings:
depguard:
rules:
prevent_unmaintained_packages:
list-mode: strict
list-mode: strict
files:
- $all
- "!$test"
Expand Down Expand Up @@ -63,6 +63,7 @@ linters:
- errcheck
- exportloopref
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
Expand Down

0 comments on commit 0e30fa3

Please sign in to comment.