-
Notifications
You must be signed in to change notification settings - Fork 101
/
.eslintrc
35 lines (35 loc) · 1.01 KB
/
.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
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true,
"node": true,
"meteor": true
},
"globals": {
"chrome": true,
"AsyncStorage": true,
Promise: true
},
"rules": {
"brace-style": [2, "1tbs"],
"comma-spacing": [2, {"before": false, "after": true}],
"computed-property-spacing": [2, "never"],
"indent": [2, 4],
"keyword-spacing": [2],
"linebreak-style": [2, "unix"],
"new-cap": [2, {"capIsNew": false}],
"no-console": [0],
"no-multi-spaces": [0],
"no-underscore-dangle": [0],
"object-curly-spacing": [2, "never"],
"one-var": [2, "never"],
"quotes": [2, "double", {"avoidEscape": true}],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-in-parens": [2, "never"],
"strict": [2, "never"]
}
}