Skip to content

Commit

Permalink
Merge pull request #1176 from tdakkota/ci/disable-emptystringtest
Browse files Browse the repository at this point in the history
ci(golangci-lint): disable `emptyStringTest` check
  • Loading branch information
ernado authored Feb 9, 2024
2 parents 4ced389 + 12082ad commit b1436ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ linters-settings:
- performance
- style
disabled-checks:
- emptyStringTest # len(<string>) > 0 is fine and easier to read in some contexts
- hugeParam
- rangeValCopy
- exitAfterDefer
Expand Down

0 comments on commit b1436ab

Please sign in to comment.