mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-27 18:22:24 +01: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:
parent
7d7ab4da3a
commit
da75619245
@ -108,6 +108,7 @@ linters:
|
||||
- contextcheck
|
||||
- errname
|
||||
- exhaustivestruct
|
||||
- exhaustruct
|
||||
- goerr113
|
||||
- gomnd
|
||||
- ifshort
|
||||
|
Loading…
x
Reference in New Issue
Block a user