Skip to content

Commit

Permalink
fix(lint): exclude unused parameters from noop logger
Browse files Browse the repository at this point in the history
  • Loading branch information
thor committed Oct 3, 2024
1 parent f49ba07 commit d7fd8a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ linters:
- revive
- gofmt
- godot

issues:
exclude-rules:
# Exclude unused parameter checks from the noop logger for readability
- path: internal/log/log.go
linters:
- revive
text: "unused-parameter: parameter '(\\w+)' seems to be unused, .*"

0 comments on commit d7fd8a2

Please sign in to comment.