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
|
- gochecknoinits
|
||||||
|
|
||||||
# Deprecated linters. See https://golangci-lint.run/usage/linters/.
|
# Deprecated linters. See https://golangci-lint.run/usage/linters/.
|
||||||
- interfacer
|
|
||||||
- golint
|
|
||||||
- maligned
|
|
||||||
- scopelint
|
|
||||||
- exhaustivestruct
|
|
||||||
- bodyclose
|
- bodyclose
|
||||||
- contextcheck
|
- contextcheck
|
||||||
- nilerr
|
- nilerr
|
||||||
- noctx
|
- noctx
|
||||||
- rowserrcheck
|
- rowserrcheck
|
||||||
- sqlclosecheck
|
- sqlclosecheck
|
||||||
- structcheck
|
|
||||||
- tparallel
|
- tparallel
|
||||||
- unparam
|
- unparam
|
||||||
- wastedassign
|
- wastedassign
|
||||||
- ifshort
|
|
||||||
- varcheck
|
|
||||||
- deadcode
|
|
||||||
- nosnakecase
|
|
||||||
|
|
||||||
|
|
||||||
# Disable gofumpt as it has weird behavior regarding formatting multiple
|
# Disable gofumpt as it has weird behavior regarding formatting multiple
|
||||||
@ -189,7 +179,7 @@ linters:
|
|||||||
- wrapcheck
|
- wrapcheck
|
||||||
|
|
||||||
# Allow dynamic errors.
|
# Allow dynamic errors.
|
||||||
- goerr113
|
- err113
|
||||||
|
|
||||||
# We use ErrXXX instead.
|
# We use ErrXXX instead.
|
||||||
- errname
|
- errname
|
||||||
|
Loading…
Reference in New Issue
Block a user