forked from TrueCar/react-launch-darkly
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
62 lines (56 loc) · 1.27 KB
/
.eslintrc
File metadata and controls
62 lines (56 loc) · 1.27 KB
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
{
"parser": "babel-eslint",
"rules": {
"comma-dangle": 0,
"no-cond-assign": [2, "always"],
"no-extra-boolean-cast": 0,
"curly": 2,
"default-case": 2,
"eqeqeq": 2,
"no-case-declarations": 2,
"no-else-return": 2,
"no-fallthrough": 2,
"no-redeclare": 2,
"no-warning-comments": [1, { "terms": ["todo"], "location": "start" }],
"no-undef": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unused-vars": 2,
"react/prop-types": [0],
"eol-last": 2,
"indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": { "var": 2, "let": 2, "const": 3}}],
"jsx-quotes": [2, "prefer-double"],
"linebreak-style": [2, "unix"],
"no-trailing-spaces": 1,
"quotes": [2, "double"],
"semi": [2, "always"],
"no-var": 2,
"prefer-const": 2,
"react/display-name": 0,
"react/jsx-wrap-multilines": 2,
"flowtype/define-flow-type": 1
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
],
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"react",
"flowtype"
],
"globals": {
"before": true,
"context": true,
"describe": true,
"it": true
}
}