File tree Expand file tree Collapse file tree 2 files changed +48
-39
lines changed
Expand file tree Collapse file tree 2 files changed +48
-39
lines changed Original file line number Diff line number Diff line change 3535
3636 # Optional: if set to true then the all caching functionality will be complete disabled,
3737 # takes precedence over all other caching options.
38- # skip-cache: true
38+ # skip-cache: true
Original file line number Diff line number Diff line change 11version : " 2"
2+ run :
3+ tests : false
24skip-dirs :
35 - ^chain
46 - ^chain/.*
@@ -24,44 +26,51 @@ linters:
2426 - unparam
2527 disable :
2628 - unused
27-
28- linters-settings :
29- revive :
30- enable-all-rules : true
29+ settings :
30+ gocritic :
31+ disabled-checks :
32+ - singleCaseSwitch
33+ - deferInLoop
34+ - hugeParam
35+ - unnamedResult
36+ enabled-tags :
37+ - performance
38+ - diagnostic
39+ - style
40+ - opinionated
41+ - experimental
42+ revive :
43+ enable-all-rules : true
44+ rules :
45+ - name : var-naming
46+ arguments :
47+ - - ID
48+ - name : add-constant
49+ disabled : true
50+ - name : line-length-limit
51+ arguments :
52+ - 140
53+ - name : cognitive-complexity
54+ arguments :
55+ - 20
56+ disabled : false
57+ exclusions :
58+ generated : lax
59+ presets :
60+ - comments
61+ - common-false-positives
62+ - legacy
63+ - std-error-handling
3164 rules :
32- - name : var-naming
33- arguments :
34- - - ID
35- - name : add-constant
36- disabled : true
37- - name : line-length-limit
38- arguments :
39- - 140
40- - name : cognitive-complexity
41- arguments :
42- - 20
43- disabled : false
44- gocritic :
45- enabled-tags :
46- - performance
47- - diagnostic
48- - style
49- - opinionated
50- - experimental
51- disabled-checks :
52- - singleCaseSwitch
53- - deferInLoop
54- - hugeParam
55- - unnamedResult
65+ - linters :
66+ - revive
67+ text : ALL_CAPS
68+ paths :
69+ - chain
70+ - exchange
71+ - injective_data
72+ - proto
73+ - client/keyring/testdata
74+ - client/chain/chain_test_support.go
5675issues :
57- exclude-rules :
58- - linters :
59- - revive
60- text : ALL_CAPS
61- - linters :
62- - revive
63- path : ^chain/.*
6476 max-issues-per-linter : 0
65-
66- run :
67- tests : false
You can’t perform that action at this time.
0 commit comments