-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
42 lines (42 loc) · 898 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
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"classes": true,
"forOf": true,
"jsx": true,
"es6": true,
"blockBindings": true
},
"rules": {
"indent": [2, 2, {"SwitchCase": 1}],
"semi": 1,
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 1}],
"no-var": 1,
"object-curly-spacing": [2, "always"],
"computed-property-spacing": [2, "always"],
"array-bracket-spacing": [2, "always"],
"space-in-parens": [2, "always", { "exceptions": ["empty", "{}"] }]
},
"globals": {
"__DEV__": true,
"__PROD__": true,
"__PREZ__": true,
"THREE": true,
"React": true,
"TweenMax": true,
"TimelineMax": true,
"Expo": true,
"Back": true,
"Power2": true,
"Power0": true
}
}