-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
62 lines (62 loc) · 1.82 KB
/
.eslintrc.json
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
{
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"promise",
"jsdoc"
],
"extends": ["eslint:recommended", "google"],
"rules": {
"no-console": "off",
"no-regex-spaces": "off",
"no-debugger": "off",
"no-unused-vars": "off",
"no-mixed-spaces-and-tabs": "off",
"no-undef": "off",
"no-template-curly-in-string": 1,
"consistent-return": 1,
"array-callback-return": 1,
"eqeqeq": 2,
"no-alert": 2,
"no-caller": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-extend-native": 1,
"no-extra-bind": 1,
"no-extra-label": 1,
"no-floating-decimal": 2,
"no-implicit-coercion": 1,
"no-loop-func": 1,
"no-new-func": 2,
"no-new-wrappers": 1,
"no-throw-literal": 2,
"prefer-promise-reject-errors": 2,
"for-direction": 2,
"getter-return": 2,
"no-await-in-loop": 2,
"no-compare-neg-zero": 2,
"no-catch-shadow": 1,
"no-shadow-restricted-names": 2,
"callback-return": 2,
"handle-callback-err": 2,
"no-path-concat": 1,
"prefer-arrow-callback": 1,
"promise/always-return": 2,
"promise/catch-or-return": 2,
"promise/no-nesting": 1,
"linebreak-style": 0,
"valid-jsdoc": 0,
"jsdoc/check-param-names": 1,
"jsdoc/check-tag-names": 1,
"jsdoc/check-types": 1,
"jsdoc/newline-after-description": 1,
"jsdoc/require-description-complete-sentence": 1,
"jsdoc/require-param": 1,
"jsdoc/require-param-description": 1,
"jsdoc/require-param-name": 1,
"jsdoc/require-param-type": 1,
"jsdoc/require-returns-description": 1,
"jsdoc/require-returns-type": 1
}
}