forked from luispmoraisc/intercept-requests-js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
66 lines (66 loc) · 1.5 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"extends": ["eslint:recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:jsx-a11y/recommended"],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"spread": true,
"restParams": true,
"legacyDecorators": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"rules": {
"jsx-a11y/anchor-is-valid": ["error", { "components": ["Link"], "specialLink": ["to"] }],
"max-len": [1, 354, 2],
"quotes": 0,
"semi": 1,
"strict": 1,
"require-jsdoc": 0,
"global-require": 0,
"skipBlankLines": 0,
"func-call-spacing": ["error", "never"],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"object-curly-spacing": ["error", "always"],
"multiline-ternary": 0,
"one-var": ["error", { "initialized": "never" }],
"guard-for-in": 0,
"no-invalid-this": 0,
"eqeqeq": [1, "smart"],
"no-var": 2,
"no-alert": 2,
"no-console": 2,
"no-debugger": 2,
"no-return-await": 2,
"comma-spacing": [
"error",
{
"before": false,
"after": true
}
],
"array-bracket-spacing": [
0,
"never",
{
"objectsInArrays": false
}
],
"no-trailing-spaces": ["error", { "skipBlankLines": true }]
}
}