-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.codeclimate.yml
executable file
·111 lines (111 loc) · 2.12 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: true
config:
threshold: 750
method-complexity:
enabled: true
config:
threshold: 6
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 50
nested-control-flow:
enabled: true
config:
threshold: 6
return-statements:
enabled: true
config:
threshold: 4
similar-code:
enabled: true
config:
threshold: 100
identical-code:
enabled: true
config:
threshold: 100
plugins:
babel-eslint:
enabled: true
csslint:
enabled: true
eslint:
enabled: true
channel: "eslint-7"
config:
config: .codeclimate.eslintrc.json
extensions:
- .js
- .json
ignore_warnings: true
fixme:
enabled: true
config:
strings:
- FIXME
- TODO
- HACK
grep:
enabled: true
config:
patterns:
bad-merge:
pattern: <<<<<<<|=======|>>>>>>>
annotation: "Bad merge"
severity: critical
categories: ["Bug Risk", "Performance"]
content: >
Bad merge detected by one or more of the following strings of the form: "<<<<<<< Updated upstream", "=======", ">>>>>>> Stashed changes". In all likelihood, this will result in syntax errors when attempting to run your application.
markdownlint:
enabled: true
checks:
MD008:
enabled: false
MD013:
enabled: false
MD014:
enabled: false
MD015:
enabled: false
MD016:
enabled: false
MD017:
enabled: false
MD023:
enabled: false
MD024:
enabled: false
MD026:
enabled: false
MD029:
enabled: false
MD033:
enabled: false
MD034:
enabled: false
MD036:
enabled: false
shellcheck:
enabled: true
exclude_patterns:
- ".*"
- coverage/
- dist/
- node_modules/
- "**/*test.js"