-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 1.22 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
{
"extends": "airbnb-base",
"parser": "babel-eslint",
"rules": {
"semi": [2, "never"],
"comma-dangle": [2, "never"],
"generator-star-spacing": [2, {"before": false, "after": true}],
"no-unused-vars": [1, { "args": "none" }],
"max-len": [1, 110, 4],
"key-spacing": [0, { "align": "value" }],
"no-multi-spaces": [2, { "exceptions": { "ImportDeclaration": true, "VariableDeclarator": true } }],
"no-param-reassign": [2, { "props": false }],
"quote-props": [2, "consistent-as-needed"],
"no-constant-condition": 0,
"no-empty-function": 0,
"import/no-unresolved": 0,
"new-cap": 0,
"no-debugger": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-dynamic-require": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"prefer-arrow-callback": 0,
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"consistent-return": 0,
"no-plusplus": 0,
"eqeqeq": 0,
"import/imports-first": 0,
"func-names": 0
},
"parserOptions": {
"ecmaFeatures": {
"classes": true,
"generators": true,
"experimentalObjectRestSpread": true
},
},
"env": {
"browser": true,
"node": true
}
}