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:
|
disable:
|
||||||
# too many reports but requires attention
|
# too many reports but requires attention
|
||||||
- depguard
|
- depguard
|
||||||
- revive
|
|
||||||
- tagalign
|
- tagalign
|
||||||
# useful hints that should be addressed
|
# useful hints that should be addressed
|
||||||
- nakedret
|
- nakedret
|
||||||
|
@ -79,7 +78,12 @@ linters-settings:
|
||||||
ignore: fmt:.*
|
ignore: fmt:.*
|
||||||
nolintlint:
|
nolintlint:
|
||||||
allow-leading-space: false
|
allow-leading-space: false
|
||||||
|
allow-unused: true
|
||||||
require-specific: true
|
require-specific: true
|
||||||
|
revive:
|
||||||
|
rules:
|
||||||
|
- name: unused-parameter
|
||||||
|
disabled: true
|
||||||
|
|
||||||
issues:
|
issues:
|
||||||
# Maximum issues count per one linter.
|
# Maximum issues count per one linter.
|
||||||
|
|
Loading…
Reference in New Issue