-
Notifications
You must be signed in to change notification settings - Fork 56
/
.eslintrc.json
45 lines (45 loc) · 1 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"browser": false,
"chrome": false,
"extension": false,
"extensiona": false
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"experimentalObjectRestSpread": true,
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react",
"flowtype"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:flowtype/recommended"
],
"parser": "babel-eslint",
"rules": {
"strict": 0,
"no-console": 0,
"no-extra-parens": 2,
"eqeqeq": 2,
"no-useless-escape": 2,
"require-yield": 0,
"no-undef": 2,
"react/prop-types": 0,
"no-unused-vars": 1,
"no-constant-condition": 0,
"flowtype/space-after-type-colon": 0,
"flowtype/union-intersection-spacing": 0
}
}