Skip to content

Commit

Permalink
.golangci.yml: turn off deprecated linters
Browse files Browse the repository at this point in the history
All these linters produced a deprecation warning. They've all been
replaced by new linters, so we can safely turn them off.
  • Loading branch information
guggero committed Dec 20, 2024
1 parent 03eab4d commit ad29096
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ linters:
- unparam
- wastedassign


# Disable gofumpt as it has weird behavior regarding formatting multiple
# lines for a function which is in conflict with our contribution
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
Expand Down Expand Up @@ -218,6 +217,17 @@ linters:
- intrange
- goconst

# Deprecated linters that have been replaced by newer ones.
- deadcode
- exhaustivestruct
- ifshort
- golint
- interfacer
- varcheck
- nosnakecase
- scopelint
- structcheck
- maligned

issues:
# Only show newly introduced problems.
Expand Down

0 comments on commit ad29096

Please sign in to comment.