Skip to content

Commit

Permalink
.golangci: remove or rename old and deprecated linters
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Aug 20, 2024
1 parent 19b5a1f commit 9eef428
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,25 +131,15 @@ linters:
- gochecknoinits

# Deprecated linters. See https://golangci-lint.run/usage/linters/.
- interfacer
- golint
- maligned
- scopelint
- exhaustivestruct
- bodyclose
- contextcheck
- nilerr
- noctx
- rowserrcheck
- sqlclosecheck
- structcheck
- tparallel
- unparam
- wastedassign
- ifshort
- varcheck
- deadcode
- nosnakecase


# Disable gofumpt as it has weird behavior regarding formatting multiple
Expand Down Expand Up @@ -189,7 +179,7 @@ linters:
- wrapcheck

# Allow dynamic errors.
- goerr113
- err113

# We use ErrXXX instead.
- errname
Expand Down

0 comments on commit 9eef428

Please sign in to comment.