forked from tt-driver-apps/react-native-slider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
70 lines (70 loc) · 1.2 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"parser": "babel-eslint",
"env": {
"es6": true
},
"ecmaFeatures": {
"jsx": true
},
"plugins": [
"react"
],
"globals": {
"__DEV__": true,
"__dirname": false,
"__fbBatchedBridgeConfig": false,
"cancelAnimationFrame": false,
"clearImmediate": true,
"clearInterval": false,
"clearTimeout": false,
"console": false,
"document": false,
"escape": false,
"exports": false,
"fetch": false,
"global": false,
"jest": false,
"Map": true,
"module": false,
"navigator": false,
"process": false,
"Promise": true,
"requestAnimationFrame": true,
"require": false,
"Set": true,
"setImmediate": true,
"setInterval": false,
"setTimeout": false,
"window": false,
"XMLHttpRequest": false,
"pit": false
},
"rules": {
"indent": [
2,
2
],
"quotes": [
2,
"single",
"avoid-escape"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"strict": [
2,
"global"
],
"global-strict": 0,
"no-use-before-define": 0,
"comma-dangle": 0,
"no-underscore-dangle": 0,
"eol-last": 1
}
}