lint: disable gomnd

This commit is contained in:
Oliver Gugger committed 2023-01-17 19:20:57 +01:00
1 parent ea0eb2ce72
commit a306cbdec9
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -185,6 +185,10 @@ linters:
# exactly a test failed in the generated failure stack trace. # exactly a test failed in the generated failure stack trace.
- thelper - thelper
# The linter is too aggressive and doesn't add much value since reviewers
# will also catch magic numbers that make sense to extract.
- gomnd
issues: issues:
# Only show newly introduced problems. # Only show newly introduced problems.
+2 -1
View File
@@ -336,7 +336,8 @@ data.
* [`golangci-lint` will now check new code using additional * [`golangci-lint` will now check new code using additional
linters](https://github.com/lightningnetwork/lnd/pull/7064) and was linters](https://github.com/lightningnetwork/lnd/pull/7064) and was
[fine-tuned](https://github.com/lightningnetwork/lnd/pull/7289) to fit our [fine-tuned](https://github.com/lightningnetwork/lnd/pull/7289) to fit our
code style. code style or to [disable annoying new
linters](https://github.com/lightningnetwork/lnd/pull/7335).
* Update github actions to [check commits against the target base * Update github actions to [check commits against the target base
branch](https://github.com/lightningnetwork/lnd/pull/7103) rather than just branch](https://github.com/lightningnetwork/lnd/pull/7103) rather than just