dev: enable revive linter with default config (#3622)

This commit is contained in:
Oleksandr Redko 2023-04-02 17:21:03 +03:00 committed by GitHub
parent 872f4bdebc
commit 5d34936686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,10 @@ linters-settings:
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
revive:
rules:
- name: unexported-return
disabled: true
linters:
disable-all: true
@ -91,6 +95,7 @@ linters:
- nakedret
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- typecheck
@ -112,7 +117,6 @@ linters:
# - nestif
# - prealloc
# - testpackage
# - revive
# - wsl
issues: