Skip to content

Commit

Permalink
enable nilness check
Browse files Browse the repository at this point in the history
  • Loading branch information
xrstf committed Mar 18, 2024
1 parent d2e9b90 commit ad309d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ linters-settings:
main:
deny:
- { pkg: io/ioutil, desc: https://go.dev/doc/go1.16#ioutil }
govet:
enable:
- nilness # find tautologies / impossible conditions

issues:
exclude:
Expand Down

0 comments on commit ad309d6

Please sign in to comment.