Skip to content

Commit

Permalink
Adjust to golangci-lint 1.58.0
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed May 13, 2024
1 parent 35028e2 commit 55432a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ linters:
- gocyclo
- godot
# - godox # Let's not forbid inline TODOs, FIXMEs et al
- goerr113
- err113
- gofmt
- gofumpt
- goheader
Expand Down Expand Up @@ -186,15 +186,15 @@ issues:
# https://github.com/Djarvur/go-err113/issues/10 for an interesting discussion of this error. While there are cases
# where wrapped sentinel errors are useful, it seems a bit pedantic to force that pattern in all cases.
- linters:
- goerr113
- err113
text: "do not define dynamic errors"

# Ignore certain linters for test files
- path: _test\.go|test/|fake/
linters:
- errname
- gochecknoinits
- goerr113
- err113
- wrapcheck

# Ignore header linting for internal files copied from Kubernetes
Expand Down

0 comments on commit 55432a6

Please sign in to comment.