Disable revive unused-parameter

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ 2023-04-04 10:28:19 +02:00
parent c18f5b6487
commit 16c3cd35b1
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1

View file

@ -56,3 +56,9 @@ linters-settings:
local-prefixes: github.com/prometheus/prometheus
gofumpt:
extra-rules: true
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
- name: unused-parameter
severity: warning
disabled: true