Skip to content

Commit

Permalink
.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.
  • Loading branch information
guggero committed Dec 10, 2024
1 parent a719e2f commit 3b576ed
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
Expand Up @@ -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.
Expand Down

0 comments on commit 3b576ed

Please sign in to comment.