This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
78 lines (78 loc) · 1.97 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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true
},
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"plugins": [
"babel"
],
"globals": {},
"rules": {
"no-unused-vars": [1, { "varsIgnorePattern": "^h$" }],
"no-cond-assign": 1,
"no-console": 1,
"semi": 2,
"camelcase": 2,
"comma-style": [2, "last"],
"comma-dangle": [2, "never"],
"indent": ["error", 2],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"max-nested-callbacks": [2, 3],
"no-eval": 2,
"no-implied-eval": 2,
"no-new-func": 2,
"guard-for-in": 0,
"eqeqeq": 0,
"no-else-return": 2,
"no-redeclare": 2,
"no-dupe-keys": 2,
"radix": 2,
"strict": [2, "never"],
"no-shadow": 0,
"callback-return": [1, ["callback", "cb", "next", "done"]],
"no-delete-var": 2,
"no-undef-init": 2,
"no-shadow-restricted-names": 2,
"handle-callback-err": 0,
"no-lonely-if": 2,
"keyword-spacing": [2, {
"before": true,
"after": true
}],
"constructor-super": 2,
"no-this-before-super": 2,
"no-dupe-class-members": 2,
"no-const-assign": 2,
"prefer-spread": 2,
"no-useless-concat": 2,
"no-var": 2,
"object-shorthand": 2,
"prefer-arrow-callback": 1,
"consistent-this": [2, "self"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"quotes": [2, "single"],
"space-before-function-paren": 2,
"eol-last": 2,
"valid-jsdoc": [2, {
"requireReturn": true,
"requireReturnType": true,
"requireReturnDescription": false,
"requireParamDescription": true
}],
"babel/generator-star-spacing": 1,
"babel/new-cap": 1,
"babel/array-bracket-spacing": 1,
"babel/object-curly-spacing": 0,
"babel/object-shorthand": 1,
"babel/arrow-parens": 0,
"babel/no-await-in-loop": 1,
"babel/flow-object-type": 1
}
}