File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change
1
+ # For a guide to configuration, visit https://qlty.sh/d/config
2
+ # Or for a full reference, visit https://qlty.sh/d/qlty-toml
3
+ config_version = " 0"
4
+
5
+ exclude_patterns = [
6
+ " *_min.*" ,
7
+ " *-min.*" ,
8
+ " *.min.*" ,
9
+ " **/.yarn/**" ,
10
+ " **/*.d.ts" ,
11
+ " **/assets/**" ,
12
+ " **/bin/**" ,
13
+ " **/bower_components/**" ,
14
+ " **/build/**" ,
15
+ " **/cache/**" ,
16
+ " **/config/**" ,
17
+ " **/.devcontainer" ,
18
+ " **/db/**" ,
19
+ " **/deps/**" ,
20
+ " **/dist/**" ,
21
+ " **/doc/**" ,
22
+ " **/extern/**" ,
23
+ " **/external/**" ,
24
+ " **/generated/**" ,
25
+ " **/Godeps/**" ,
26
+ " **/gradlew/**" ,
27
+ " **/mvnw/**" ,
28
+ " **/node_modules/**" ,
29
+ " **/protos/**" ,
30
+ " **/seed/**" ,
31
+ " **/target/**" ,
32
+ " **/templates/**" ,
33
+ " **/testdata/**" ,
34
+ " **/vendor/**" ,
35
+ ]
36
+
37
+
38
+ test_patterns = [
39
+ " **/test/**" ,
40
+ " **/spec/**" ,
41
+ " **/*.test.*" ,
42
+ " **/*.spec.*" ,
43
+ " **/*_test.*" ,
44
+ " **/*_spec.*" ,
45
+ " **/test_*.*" ,
46
+ " **/spec_*.*" ,
47
+ ]
48
+
49
+ [smells ]
50
+ mode = " comment"
51
+
52
+ [smells .boolean_logic ]
53
+ threshold = 4
54
+ enabled = true
55
+
56
+ [smells .file_complexity ]
57
+ threshold = 55
58
+ enabled = false
59
+
60
+ [smells .return_statements ]
61
+ threshold = 4
62
+ enabled = true
63
+
64
+ [smells .nested_control_flow ]
65
+ threshold = 4
66
+ enabled = true
67
+
68
+ [smells .function_parameters ]
69
+ threshold = 4
70
+ enabled = true
71
+
72
+ [smells .function_complexity ]
73
+ threshold = 5
74
+ enabled = true
75
+
76
+ [smells .duplication ]
77
+ enabled = true
78
+ threshold = 20
You can’t perform that action at this time.
0 commit comments