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:
parent
aa453c4f11
commit
84e42877ae
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue