-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
68 lines (67 loc) · 1.73 KB
/
.eslintrc.json
File metadata and controls
68 lines (67 loc) · 1.73 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
63
64
65
66
67
68
{
"extends": "airbnb-base",
"env": {
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"arrow-parens": [
"error",
"always"
],
"brace-style": 0,
"func-names": [
0,
"as-needed"
],
"no-plusplus": 0,
"no-mixed-operators": 0,
"arrow-body-style": 0,
"comma-dangle": [
2,
"only-multiline"
],
"space-before-function-paren": 0,
"prefer-arrow-callback": 0,
"space-before-blocks": 0,
"no-undef": 1,
"object-curly-newline": ["error", {
"ObjectExpression": { "multiline": true, "minProperties": 3 },
"ObjectPattern": "never",
"ImportDeclaration": "never",
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
}],
"implicit-arrow-linebreak": 1,
"function-paren-newline": 1,
"array-callback-return": 1,
"operator-linebreak": 1,
"prefer-destructuring": 0,
"indent": [
2,
4,
{
"SwitchCase": 1
}
],
"max-len": 0,
"keyword-spacing": 0,
"arrow-spacing": 0,
"no-var": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"newline-per-chained-call": 0,
"no-confusing-arrow": 0,
"no-console": 0,
"consistent-return": 0,
"no-nested-ternary": 0,
"camelcase": 0,
"object-curly-spacing": [0, "never"],
"eol-last": [2, "never"],
"no-use-before-define": 0
}
}