Skip to content

Commit

Permalink
Update golangci-lint settings
Browse files Browse the repository at this point in the history
Disable revive unused-parameter rule.

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ committed Apr 2, 2024
1 parent 0f1051c commit 0994d28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ linters:
linters-settings:
goimports:
local-prefixes: github.com/prometheus/promu
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
- name: unused-parameter
severity: warning
disabled: true

0 comments on commit 0994d28

Please sign in to comment.