mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 22:11:41 +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
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ linters:
|
|||
- contextcheck
|
||||
- errname
|
||||
- exhaustivestruct
|
||||
- exhaustruct
|
||||
- goerr113
|
||||
- gomnd
|
||||
- ifshort
|
||||
|
|
Loading…
Add table
Reference in a new issue