mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-05 10:39:03 +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
|
||||
- wastedassign
|
||||
|
||||
|
||||
# Disable gofumpt as it has weird behavior regarding formatting multiple
|
||||
# lines for a function which is in conflict with our contribution
|
||||
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
|
||||
@ -218,10 +217,21 @@ linters:
|
||||
- intrange
|
||||
- goconst
|
||||
|
||||
# Deprecated linters that have been replaced by newer ones.
|
||||
- deadcode
|
||||
- exhaustivestruct
|
||||
- ifshort
|
||||
- golint
|
||||
- interfacer
|
||||
- varcheck
|
||||
- nosnakecase
|
||||
- scopelint
|
||||
- structcheck
|
||||
- maligned
|
||||
|
||||
issues:
|
||||
# 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
|
||||
# internal use.
|
||||
|
Loading…
x
Reference in New Issue
Block a user