mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
.golangci: remove or rename old and deprecated linters
This commit is contained in:
parent
19b5a1fb05
commit
9eef428e77
@ -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
|
||||
@ -189,7 +179,7 @@ linters:
|
||||
- wrapcheck
|
||||
|
||||
# Allow dynamic errors.
|
||||
- goerr113
|
||||
- err113
|
||||
|
||||
# We use ErrXXX instead.
|
||||
- errname
|
||||
|
Loading…
Reference in New Issue
Block a user