Skip to content

Commit aa262fa

Browse files
committed
golangci-lint: include exported rule for real
Some rules will be plainly ignored due to the exclusion list. See https://golangci-lint.run/usage/configuration/#issues-configuration and https://golangci-lint.run/usage/false-positives/#exc0012 and golangci/golangci-lint#1937 (comment) Signed-off-by: Daniel Maslowski <[email protected]>
1 parent d483ba0 commit aa262fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.golangci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ linters:
88
- thelper
99
- unconvert
1010

11+
issues:
12+
include:
13+
- EXC0012
1114
linters-settings:
1215
revive:
1316
# Maximum number of open files at the same time.
@@ -37,9 +40,6 @@ linters-settings:
3740
- name: error-strings
3841
- name: error-naming
3942
- name: exported
40-
arguments:
41-
- "checkPrivateReceivers"
42-
- "sayRepetitiveInsteadOfStutters"
4343
- name: if-return
4444
- name: increment-decrement
4545
- name: var-naming

0 commit comments

Comments
 (0)