Skip to content

Commit

Permalink
Enable all govet linters except fieldalignment
Browse files Browse the repository at this point in the history
When linting, govet complains about the deprecated `check-shadowing` setting.
Replace it with enabling all currently passing linters. This excludes only
`fieldalignment`.
  • Loading branch information
matthiasr committed Sep 15, 2024
1 parent c7a3f16 commit b44c1a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ linters:
- whitespace
linters-settings:
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
issues:
exclude-use-default: false
exclude:
Expand Down

0 comments on commit b44c1a9

Please sign in to comment.