File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,23 @@ linters:
50
50
- name : error-strings
51
51
- name : error-naming
52
52
- name : exported
53
+ disabled : true
53
54
- name : if-return
54
55
- name : import-shadowing
55
56
- name : increment-decrement
56
57
- name : var-naming
58
+ severity : warning
59
+ arguments :
60
+ - ["ID"] # allowed initialisms
61
+ - ["VM"] # disallowed initialisms
62
+ - [ # <-- this is a list containing one map
63
+ {
64
+ skip-initialism-name-checks : true,
65
+ upper-case-const : true,
66
+ skip-package-name-checks : true,
67
+ extra-bad-package-names : ["helpers", "models"]
68
+ }
69
+ ]
57
70
- name : var-declaration
58
71
- name : package-comments
59
72
disabled : true
@@ -81,12 +94,6 @@ linters:
81
94
- gosec
82
95
- lll
83
96
path : hack/docs/*
84
- - linters :
85
- - revive
86
- text : " should have comment or be unexported"
87
- - linters :
88
- - revive
89
- text : " var-naming: avoid meaningless package names"
90
97
paths :
91
98
- third_party$
92
99
- builtin$
You can’t perform that action at this time.
0 commit comments