Skip to content

Commit

Permalink
Enable errorlint for new code (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Sep 1, 2022
1 parent cf4aeaa commit 9beff2d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .golangci-new.yml
Expand Up @@ -5,6 +5,12 @@ run:
timeout: 3m

linters-settings:
errorlint:
# see caveats at https://github.com/polyfloyd/go-errorlint#fmterrorf-wrapping-verb
errorf: false
asserts: true
comparison: true

staticcheck:
checks: ["all"]
wsl:
Expand Down Expand Up @@ -58,7 +64,6 @@ linters:
- errcheck
- errchkjson
- errname
- errorlint
- execinquery
- exhaustivestruct
- exhaustruct
Expand Down

0 comments on commit 9beff2d

Please sign in to comment.