-
Notifications
You must be signed in to change notification settings - Fork 41
/
.eslintrc
92 lines (92 loc) · 2.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
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
{
"extends": ["airbnb-base", "prettier"],
"plugins": ["unused-imports"],
"env": {
"node": true,
"mocha": true,
"es6": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"requireConfigFile": false,
"ecmaVersion": 9,
"ecmaFeatures": {
"modules": true
}
},
"rules": {
"generator-star-spacing": [
2,
{
"before": true,
"after": true
}
],
"no-shadow": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"require-yield": 0,
"no-param-reassign": 0,
"comma-dangle": 0,
"no-underscore-dangle": 0,
"no-control-regex": 0,
"no-undef": 2,
"linebreak-style": 0,
"arrow-body-style": 0,
"func-names": 0,
"no-unused-expressions": 0,
"space-before-function-paren": 0,
"strict": [2, "global"],
"no-unused-vars": 0,
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"import/first": 0,
"import/order": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"import/no-duplicates": 0,
"import/no-cycle": 0,
"import/export": 0,
"import/no-useless-path-segments": 0,
"no-prototype-builtins": 0,
"spaced-comment": 0,
"no-lonely-if": 0,
"prefer-destructuring": 0,
"no-continue": 0,
"no-buffer-constructor": 0,
"consistent-return": 0,
"no-restricted-globals": [0, "isNaN"],
"no-await-in-loop": 0,
"no-return-await": 0,
"no-console": 0,
"no-else-return": 0,
"max-len": 0,
"no-case-declarations": 0,
"arrow-parens": 0,
"no-useless-return": 0,
"default-case": 0,
"object-shorthand": 0,
"prefer-template": 0,
"operator-assignment": 0,
"prefer-const": 0,
"no-plusplus": 0,
"no-cond-assign": 0,
"no-irregular-whitespace": 0,
"no-async-promise-executor": 0,
"no-unneeded-ternary": 0,
"no-nested-ternary": 0,
"global-require": 0,
"prefer-arrow-callback": 0,
"quotes": [
2,
"double",
{
"avoidEscape": true
}
],
"no-use-before-define": 0,
"import/no-dynamic-require": 0,
"no-constant-condition": 0,
"unused-imports/no-unused-imports": "warn"
}
}