-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.04 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
{
"parser": "babel-eslint",
"extends": "prettier",
"env": {
"browser": true,
"mocha": true,
"node": true,
"jest": true
},
"rules": {
"arrow-body-style": [
"error",
"as-needed",
{ "requireReturnForObjectLiteral": true }
],
"comma-dangle": ["error", "always-multiline"],
"consistent-return": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"max-len": [2, 80, 4, { "ignoreUrls": true, "ignoreComments": true }],
"no-case-declarations": 0,
"no-confusing-arrow": 0,
"no-return-assign": 0,
"no-shadow": 0,
"no-throw-literal": 0,
"one-var": [0, { "uninitialized": "always", "initialized": "never" }],
"one-var-declaration-per-line": 0,
"prefer-const": 1,
"react/jsx-filename-extension": 0,
"space-before-function-paren": 0,
"spaced-comment": 0
},
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"experimentalObjectRestSpread": true
},
"ecmaVersion": 7,
"sourceType": "module"
}
}