mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-17 04:11:42 +02:00
Merge pull request #9382 from guggero/linter-update
lint: deprecate old linters, use new ref commit
This commit is contained in:
commit
1dfb5a0c20
@ -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,10 +217,21 @@ 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.
|
||||||
new-from-rev: 77c7f776d5cbf9e147edc81d65ae5ba177a684e5
|
new-from-rev: 03eab4db64540aa5f789c617793e4459f4ba9e78
|
||||||
|
|
||||||
# Skip autogenerated files for mobile and gRPC as well as copied code for
|
# Skip autogenerated files for mobile and gRPC as well as copied code for
|
||||||
# internal use.
|
# internal use.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user