File tree Expand file tree Collapse file tree 4 files changed +207
-232
lines changed Expand file tree Collapse file tree 4 files changed +207
-232
lines changed Original file line number Diff line number Diff line change 1
- version : " 2" # required to adjust maintainability checks
2
-
1
+ version : " 2"
3
2
checks :
4
3
argument-count :
5
- enabled : true
6
4
config :
7
5
threshold : 4
8
6
complex-logic :
9
- enabled : true
10
7
config :
11
8
threshold : 4
12
9
file-lines :
13
- enabled : true
14
10
config :
15
- threshold : 250
11
+ threshold : 150
16
12
method-complexity :
17
- enabled : true
18
13
config :
19
14
threshold : 15
20
15
method-count :
21
- enabled : true
22
16
config :
23
17
threshold : 20
24
18
method-lines :
25
- enabled : true
26
19
config :
27
- threshold : 100
20
+ threshold : 150
28
21
nested-control-flow :
29
- enabled : true
30
22
config :
31
23
threshold : 4
32
24
return-statements :
33
- enabled : true
34
25
config :
35
26
threshold : 4
36
27
similar-code :
37
- enabled : true
38
28
config :
39
- threshold : # language-specific defaults. overrides affect all languages.
29
+ threshold : # language-specific defaults. an override will affect all languages.
40
30
identical-code :
41
- enabled : true
42
31
config :
43
- threshold : # language-specific defaults. overrides affect all languages.
44
-
45
- # plugins:
46
- # eslint:
47
- # enabled: true
48
- # channel: "eslint-6"
49
- # rubocop:
50
- # enabled: true
51
- # channel: "rubocop-0-79"
52
-
32
+ threshold : # language-specific defaults. an override will affect all languages.
53
33
exclude_patterns :
54
- - " config/"
55
- - " db/"
56
- - " dist/"
57
- - " features/"
58
- - " **/node_modules/"
59
- - " script/"
60
- - " **/spec/"
61
- - " **/test/"
62
- - " **/tests/"
63
- - " Tests/"
64
- - " **/vendor/"
65
- - " **/*_test.go"
66
- - " **/*.d.ts"
34
+ - " config/"
35
+ - " db/"
36
+ - " dist/"
37
+ - " features/"
38
+ - " **/node_modules/"
39
+ - " script/"
40
+ - " **/spec/"
41
+ - " **/test/"
42
+ - " **/tests/"
43
+ - " **/vendor/"
44
+ - " **/*.d.ts"
You can’t perform that action at this time.
0 commit comments