-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
59 lines (59 loc) · 925 Bytes
/
.eslintrc
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
{
"root": true,
"env": {
"node": true
},
"extends": "eslint:recommended",
"rules": {
"no-console": "off",
"indent": [
2,
4,
{
"FunctionExpression": {
"parameters": "first"
},
"CallExpression": {
"arguments": "first"
}
}
],
"space-infix-ops": "error",
"quotes": [
2,
"single",
{
"avoidEscape": true
}
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"eqeqeq": [
2,
"smart"
],
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"no-trailing-spaces": "error",
"curly": "error",
"space-before-blocks": "error",
"eol-last": "error"
},
"globals": {
"XDomainRequest": false
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
}
}