mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 06:32:18 +02:00
golangci: disable new exhauststruct rule
A new linter rule was added in the latest version that wants all fields in a struct to be declared, even if the default value is used. Because that would mean a large diff for us, we disable the rule for now.
This commit is contained in:
@@ -108,6 +108,7 @@ linters:
|
|||||||
- contextcheck
|
- contextcheck
|
||||||
- errname
|
- errname
|
||||||
- exhaustivestruct
|
- exhaustivestruct
|
||||||
|
- exhaustruct
|
||||||
- goerr113
|
- goerr113
|
||||||
- gomnd
|
- gomnd
|
||||||
- ifshort
|
- ifshort
|
||||||
|
Reference in New Issue
Block a user