-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
77 lines (77 loc) · 1.93 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
71
72
73
74
75
76
77
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"classes": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"es6": true
},
"rules": {
"eqeqeq": 2,
"comma-dangle": 1,
"no-multi-spaces": 1,
"no-unused-vars": [1, { "argsIgnorePattern": "^_" }],
"no-shadow": 1,
"no-console": 2,
"no-debugger": 2,
"no-empty": 2,
"no-irregular-whitespace": 1,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"valid-typeof": 2,
"block-scoped-var": 2,
"consistent-return": 2,
"curly": 1,
"dot-location": [1, "property"],
"dot-notation": [1, {"allowPattern": "^[a-z]+(_[a-z]+)+$"}],
"no-param-reassign": [1, {"props": true}],
"no-redeclare": 1,
"no-unused-expressions": [1, {"allowShortCircuit": true, "allowTernary": true}],
"yoda": [2, "never", {"exceptRange": true}],
"no-lonely-if": 2,
"no-multiple-empty-lines": 1,
"semi-spacing": [1, {"before": false, "after": true}],
"no-constant-condition": 1,
"no-var": 2,
"object-shorthand": [1, "always"],
"prefer-const": 1,
"prefer-spread": 1,
"prefer-template": 1,
"strict": 0,
"semi": [2, "always"],
"radix": 2,
"flowtype/boolean-style": [2, "boolean"],
"flowtype/define-flow-type": 1,
"flowtype/object-type-delimiter": [2, "comma"],
"flowtype/use-flow-type": 1,
"import/export": 2,
"import/namespace": 2,
"import/no-amd": 2,
"import/no-commonjs": 2,
"import/no-duplicates": 2,
"import/no-named-as-default-member": 2,
"import/no-unresolved": 2,
"import/unambiguous": 2
},
"plugins": [
"flowtype",
"import"
],
"globals": {
"global": false,
"alert": false,
"console": false,
"require": false,
"module": false,
"process": false,
"expect": false,
"fetch": false,
"it": false,
"setTimeout": false,
"clearTimeout": false
}
}