-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
75 lines (75 loc) · 1.47 KB
/
.eslintrc.json
File metadata and controls
75 lines (75 loc) · 1.47 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
69
70
71
72
73
74
75
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"airbnb",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"no-confusing-arrow": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"no-restricted-globals": "off",
"camelcase": "off",
"no-plusplus": [
"warn",
{
"allowForLoopAfterthoughts": true
}
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"quotes": [
"warn",
"single"
],
"semi": [
"warn",
"always"
],
"no-trailing-spaces": "warn",
"no-console": "warn",
"prefer-const": "off",
"no-continue": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"max-len": "off",
"prefer-object-spread": "off",
"no-useless-escape": "off",
"no-return-assign": "off",
"object-curly-newline": "off",
"function-paren-newline": "off",
"arrow-body-style": "off",
"arrow-parens": "off",
"comma-dangle": "off",
"dot-notation": "off",
"prefer-template": "off",
"array-bracket-spacing": "off",
"prefer-destructuring": "off",
"no-param-reassign": [
"error",
{
"props": false
}
],
"radix": [
"error",
"as-needed"
],
"class-methods-use-this": "off"
}
}