-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
36 lines (30 loc) · 857 Bytes
/
.eslintrc.json
File metadata and controls
36 lines (30 loc) · 857 Bytes
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
{
"root": true,
"extends": "mgol",
"parserOptions": {
"ecmaVersion": 5
},
"env": {
"es6": false,
"node": true
},
"rules": {
// Rules are divided into sections from http://eslint.org/docs/rules/
// Stylistic issues
// Disable comma-dangle for functions as it's not supported in ES5 or ES2015.
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline"
}],
// ECMAScript 6
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-const": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-template": "off"
}
}