-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.eslintrc
48 lines (48 loc) · 1.29 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
{
"extends": "airbnb-base",
"env": {
"node": true,
"es6": true
},
"globals": {
"fetch": true,
"Headers": true
},
"rules": {
"arrow-parens": ["error", "as-needed"],
"arrow-body-style": "off",
"class-methods-use-this": "warn",
"comma-dangle": ["error", "never"],
"consistent-return": "off",
"default-case": "off",
"func-names": "off",
"generator-star-spacing": ["error", { "before": true, "after": true }],
"guard-for-in": "warn",
"no-case-declarations": "warn",
"no-confusing-arrow": "off",
"no-continue": "off",
"no-extra-boolean-cast": "warn",
"no-mixed-operators": "warn",
"no-new": "off",
"no-param-reassign": "off",
"no-path-concat": "off",
"no-plusplus": "off",
"no-prototype-builtins": "warn",
"no-restricted-syntax": "warn",
"no-return-assign": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"no-var": "warn",
"object-property-newline": "warn",
"object-shorthand": "warn",
"operator-assignment": "warn",
"one-var": "off",
"padded-blocks": "warn",
"prefer-arrow-callback": "warn",
"prefer-rest-params": "warn",
"prefer-spread": "warn",
"prefer-template": "off",
"space-before-function-paren": ["error", "never"],
"strict": "off"
}
}