-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
81 lines (81 loc) · 1.91 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
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
78
79
80
81
{
"plugins": [],
"extends": [
"eslint:recommended"
],
"env": {
"node": true,
"jest": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest",
"allowImportExportEverywhere": true
},
"globals": {
},
"rules": {
"no-unused-vars": [ "error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}],
"global-require": 0,
"no-sequences": 0,
"strict": [2, "never"],
"one-var": [2, {
"let": "always",
"const": "never"
}],
"space-in-parens": [2, "never" ],
"import/newline-after-import": 0,
"indent": [2, 2, {
"flatTernaryExpressions": true,
"VariableDeclarator": {
"let": 2,
"const": 3
}
}],
"camelcase": [2, {"properties": "never", "allow": [
"node_module",
"first_parent",
"next_module"
] }],
"no-underscore-dangle": 0,
"func-names": [2, "never"],
"newline-per-chained-call": 0,
"max-len": [2, 80],
"comma-dangle": [2, "never"],
"no-mixed-operators": 0,
"no-plusplus": 0,
"no-console": 0,
"semi": [2, "never"],
"nonblock-statement-body-position": 0,
"arrow-parens": [2, "as-needed"],
"space-before-function-paren": [2, "always"],
"function-paren-newline": 0,
"consistent-return": 0,
"array-callback-return": 0,
"prefer-const": 0,
"prefer-object-spread": 0,
"curly": 0,
"operator-linebreak": 0,
"no-param-reassign": 0,
"key-spacing": [2],
"implicit-arrow-linebreak": 0,
"no-shadow": [0, "warn", {
"allow": [ "err" ]
}
],
"prefer-arrow-callback": [2, {
"allowNamedFunctions": true
}],
"no-return-assign": 0,
"no-use-before-define": [2, "nofunc"],
"no-nested-ternary": 0,
"array-bracket-spacing": [2, "never"],
"prefer-destructuring": 0,
"class-methods-use-this": 0,
"no-confusing-arrow": 0
}
}