forked from Viewtiful/fs-dialog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
132 lines (132 loc) · 2.67 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
prepare:
fetch:
- url: "https://raw.githubusercontent.com/fs-webdev/eslint-config-frontier/master/index.js"
path: "eslint-config-frontier.js"
- url: "https://raw.githubusercontent.com/fs-webdev/eslint-config-tree/master/index.js"
path: "eslint-config-tree.js"
plugins:
babel-eslint:
enabled: true
csslint:
enabled: true
eslint:
enabled: true
channel: "eslint-4"
config:
config: .codeclimate.eslintrc.js
extensions:
- .html
- .js
ignore_warnings: true
fixme:
enabled: true
config:
strings:
- FIXME
- TODO
- ToDo
- Todo
- TO-DO
- To-Do
- HACK
- Hack
- HERE BE DRAGONS
- Here Be Dragons
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:
- ".*"
- bower_components/
- build/
- dist/
- eslint-config-frontier.js
- eslint-config-tree.js
- node_modules/
- src/
- "**/*-polyfill.js"
- "**/*min.*"
- "**/reports/**/*"
- "**/test/**/*"
- "**/vendor/**/*"