make lint: re-enable revive

But disable the `unused-parameter` linter as there are just too many
reports that I could handle.  Also allow unused nolintlint reports.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2023-06-19 15:20:57 +02:00
parent aa453c4f11
commit 84e42877ae
1 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,6 @@ linters:
disable:
# too many reports but requires attention
- depguard
- revive
- tagalign
# useful hints that should be addressed
- nakedret
@ -79,7 +78,12 @@ linters-settings:
ignore: fmt:.*
nolintlint:
allow-leading-space: false
allow-unused: true
require-specific: true
revive:
rules:
- name: unused-parameter
disabled: true
issues:
# Maximum issues count per one linter.