forked from CommonGarden/Grow-IoT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (38 loc) · 830 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
{
"env": {
"es6": true,
"browser": true,
"node": true,
"mocha": true,
"meteor": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"mocha"
],
"rules": {
"mocha/no-exclusive-tests": "error",
"indent": ["warn", 2, {
"SwitchCase": 1
}],
"linebreak-style": ["warn", "unix"],
"quotes": ["warn", "single"],
"no-console": ["off"],
"no-unused-vars": ["warn"],
"no-undef": ["warn"],
"semi": ["warn", "always"]
},
"globals": {
"Events": true,
"Environments": true,
"Images": true,
"Messages": true,
"Things": true
}
}