mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 14:17:56 +01:00
.golangci.yml: turn off deprecated linters
All these linters produced a deprecation warning. They've all been replaced by new linters, so we can safely turn them off.
This commit is contained in:
@@ -145,7 +145,6 @@ linters:
|
|||||||
- unparam
|
- unparam
|
||||||
- wastedassign
|
- wastedassign
|
||||||
|
|
||||||
|
|
||||||
# Disable gofumpt as it has weird behavior regarding formatting multiple
|
# Disable gofumpt as it has weird behavior regarding formatting multiple
|
||||||
# lines for a function which is in conflict with our contribution
|
# lines for a function which is in conflict with our contribution
|
||||||
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
|
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
|
||||||
@@ -218,6 +217,17 @@ linters:
|
|||||||
- intrange
|
- intrange
|
||||||
- goconst
|
- goconst
|
||||||
|
|
||||||
|
# Deprecated linters that have been replaced by newer ones.
|
||||||
|
- deadcode
|
||||||
|
- exhaustivestruct
|
||||||
|
- ifshort
|
||||||
|
- golint
|
||||||
|
- interfacer
|
||||||
|
- varcheck
|
||||||
|
- nosnakecase
|
||||||
|
- scopelint
|
||||||
|
- structcheck
|
||||||
|
- maligned
|
||||||
|
|
||||||
issues:
|
issues:
|
||||||
# Only show newly introduced problems.
|
# Only show newly introduced problems.
|
||||||
|
|||||||
Reference in New Issue
Block a user