-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.eslintrc.json
64 lines (64 loc) · 1.31 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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": ["eslint:all", "prettier", "prettier/react", "plugin:jest/recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 10,
"sourceType": "module"
},
"plugins": ["jest"],
"rules": {
"array-element-newline": "off",
"capitalized-comments": "off",
"class-methods-use-this": "off",
"eol-last": "off",
"func-style": "off",
"global-require": "off",
"id-length": "off",
"init-declarations": "off",
"lines-between-class-members": "off",
"multiline-comment-style": "off",
"multiline-ternary": "off",
"no-console": "off",
"no-extra-parens": "off",
"no-invalid-this": "off",
"no-magic-numbers": "off",
"no-shadow": "off",
"no-sync": "off",
"no-tabs": "off",
"no-ternary": "off",
"no-undefined": "off",
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
],
"one-var": "off",
"padded-blocks": "off",
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"next": "*",
"prev": ["const", "let", "var"]
},
{
"blankLine": "any",
"next": ["const", "let", "var"],
"prev": ["const", "let", "var"]
}
],
"quote-props": "off",
"quotes": "off",
"radix": "off",
"require-jsdoc": "off"
}
}