Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.golangci.yml: disable unwanted linters
Browse files Browse the repository at this point in the history
We disable some of the linters that give us too many false positives.
Those linters are also disabled in other projects such as lnd for
example.
guggero committed Dec 10, 2024
1 parent a6ab631 commit 2a436f5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -89,6 +89,17 @@ linters:
# The linter is too aggressive and doesn't add much value since reviewers
# will also catch magic numbers that make sense to extract.
- gomnd

# Some of the tests cannot be parallelized. On the other hand, we don't
# gain much performance with this check so we disable it for now until
# unit tests become our CI bottleneck.
- paralleltest

# Allow dynamic errors.
- goerr113

# New linters that we haven't had time to address yet.
- depguard

issues:
# Only check issues in the new code.

0 comments on commit 2a436f5

Please sign in to comment.