Skip to content

Commit

Permalink
chore: add nilness check to govet linter
Browse files Browse the repository at this point in the history
* Add nilness check to govet linter configuration

See open-policy-agent#1041 for an example

Signed-off-by: Ville Vesilehto <[email protected]>
  • Loading branch information
thevilledev authored and pckvcode committed Feb 11, 2025
1 parent 8ab34f9 commit ac46e9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
linters-settings:
misspell:
locale: US
govet:
enable:
- nilness

linters:
disable-all: true
Expand Down

0 comments on commit ac46e9c

Please sign in to comment.