-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
95 lines (95 loc) · 2.02 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"extends": ["airbnb"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true
},
"rules": {
"no-debugger": 0,
"no-alert": 0,
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "res|next|^err"
}
],
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"no-unused-expressions": [
2,
{
"allowTaggedTemplates": true
}
],
"no-param-reassign": [
2,
{
"props": false
}
],
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"arrow-parens": ["error", "as-needed"],
"arrow-body-style": 0,
"array-bracket-spacing": 0,
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-shadow": 0,
"prefer-destructuring": 0,
"one-var-declaration-per-line": 0,
"one-var": 0,
"semi": ["error", "never"],
"import": 0,
"import/prefer-default-export": 0,
"import/no-unresolved": 0,
"implicit-arrow-linebreak": 0,
"import/extensions": 0,
"import/newline-after-import": 0,
"import/first": 0,
"func-names": 0,
"space-before-function-paren": 0,
"comma-dangle": [2, "always-multiline"],
"max-len": 0,
"guard-for-in": 0,
"no-restricted-syntax": 0,
"no-multiple-empty-lines": [2, { "max": 1 }],
"newline-per-chained-call": 0,
"class-methods-use-this": 0,
"object-curly-newline": 0,
"no-underscore-dangle": 0,
"lines-between-class-members": 0,
"consistent-return": 0,
"jsx-a11y/accessible-emoji": 0,
"radix": 0,
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": [
"warn",
{
"aspects": ["invalidHref"]
}
]
}
}