-
Notifications
You must be signed in to change notification settings - Fork 23
/
.eslintrc
55 lines (55 loc) · 1.54 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
{
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"es6": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"generators": true,
"modules": true,
"objectLiteralDuplicateProperties": true
}
},
"extends": "airbnb",
"rules": {
"no-underscore-dangle": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 1,
"no-restricted-syntax": 0,
"guard-for-in": 1,
"no-bitwise": 0,
"no-continue": 0,
"prefer-destructuring": 0,
"no-restricted-globals": 0,
"prefer-promise-reject-errors": 0,
"no-mixed-operators": 0,
"no-param-reassign": 0,
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*"},
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]},
{ "blankLine": "always", "prev": "*", "next": "return" }
],
"global-require": 0,
"import/no-cycle": 0,
"operator-linebreak": [0, "after"],
"arrow-parens": ["warn", "as-needed", { "requireForBlockBody": true }],
"implicit-arrow-linebreak": 0,
"no-multiple-empty-lines": 0,
"max-len": [0, 140],
"no-promise-executor-return": 0,
"function-paren-newline": 0,
"function-call-argument-newline": 0,
"prefer-object-spread": 0,
"object-curly-newline": 0,
"grouped-accessor-pairs": 0,
"default-param-last": 0,
"no-self-assign": 0,
"func-names": 0
}
}