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:
5050 - name : error-strings
5151 - name : error-naming
5252 - name : exported
53+ disabled : true
5354 - name : if-return
5455 - name : import-shadowing
5556 - name : increment-decrement
5657 - 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+ ]
5770 - name : var-declaration
5871 - name : package-comments
5972 disabled : true
@@ -81,12 +94,6 @@ linters:
8194 - gosec
8295 - lll
8396 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"
9097 paths :
9198 - third_party$
9299 - builtin$
You can’t perform that action at this time.
0 commit comments