Skip to content

Commit 5d34936

Browse files
authored
dev: enable revive linter with default config (#3622)
1 parent 872f4bd commit 5d34936

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.golangci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ linters-settings:
6363
allow-unused: false # report any unused nolint directives
6464
require-explanation: false # don't require an explanation for nolint directives
6565
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
66+
revive:
67+
rules:
68+
- name: unexported-return
69+
disabled: true
6670

6771
linters:
6872
disable-all: true
@@ -91,6 +95,7 @@ linters:
9195
- nakedret
9296
- noctx
9397
- nolintlint
98+
- revive
9499
- staticcheck
95100
- stylecheck
96101
- typecheck
@@ -112,7 +117,6 @@ linters:
112117
# - nestif
113118
# - prealloc
114119
# - testpackage
115-
# - revive
116120
# - wsl
117121

118122
issues:

0 commit comments

Comments
 (0)