Skip to content

Commit

Permalink
golangci-lint: change renamed linter goerr113 -> err113
Browse files Browse the repository at this point in the history
This commit gets rid of the deprecation message when using golangci-lint
with the renamed linter `goerr113` that has been renamed to `err113`.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
  • Loading branch information
mhofstetter authored and tklauser committed May 29, 2024
1 parent 11f1289 commit 12d92ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ issues:
text: "SA9003: empty branch"
- linters: [staticcheck]
text: "SA2001: empty critical section"
- linters: [goerr113]
- linters: [err113]
text: "do not define dynamic errors, use wrapped static errors instead" # This rule to avoid opinionated check fmt.Errorf("text")
# Skip goimports check on generated files
- path: \\.(generated\\.deepcopy|pb)\\.go$
Expand All @@ -115,7 +115,7 @@ linters:
enable:
- depguard
- errorlint
- goerr113
- err113
- gofmt
- goimports
- govet
Expand Down

0 comments on commit 12d92ea

Please sign in to comment.