-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
50 lines (50 loc) · 866 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
{
"env": {
"node": true,
"es6": true,
"mocha": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": [
"error",
2
],
"new-cap": "off",
"newline-after-var": "off",
"no-invalid-this": "off",
"quotes": [
"error",
"single"
],
"guard-for-in": "off",
"no-console": "off",
"no-undefined": "off",
"array-bracket-spacing": "off",
"no-unused-expressions": "off",
"linebreak-style": "off",
"func-style": [
"error",
"expression"
],
"comma-dangle": [
"error",
"never"
]
},
"plugins": [
"react"
],
"globals": {
"EASY_ENV_IS_PROD": true,
"EASY_ENV_IS_NODE": true,
"EASY_ENV_IS_BROWSER": true,
"EASY_ENV_IS_DEV": true
}
}