-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
56 lines (56 loc) · 1.74 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"defaultParams": false,
"destructuring": false,
"forOf": true,
"generators": true,
"modules": false,
"restParams": true
},
"sourceType": "script"
},
"plugins": ["jsdoc"],
"rules": {
"no-promise-executor-return": 0,
"func-names": 0,
"strict": [2, "global"],
"indent": [2, 4, {"SwitchCase": 1}],
"space-before-function-paren": [2, {"anonymous": "always", "named": "always"}],
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"],
"comma-dangle": [2, "never"],
"padded-blocks": 0,
"no-console": [2],
"no-underscore-dangle": 0,
"no-continue": 0,
"lines-around-directive": 0,
"no-plusplus": 0,
"import/no-extraneous-dependencies": 0,
"require-yield": 0,
"class-methods-use-this": 0,
"jsdoc/check-param-names": 2,
"jsdoc/check-types": 2,
"jsdoc/require-description-complete-sentence": 0,
"jsdoc/require-hyphen-before-param-description": 2,
"jsdoc/require-param": 2,
"jsdoc/require-param-description": 0,
"jsdoc/require-param-type": 2,
"jsdoc/require-returns-description": 0,
"jsdoc/require-returns-type": 2,
"no-await-in-loop": 0,
"react/destructuring-assignment": 0
},
"settings": {
"jsdoc": {
"mode": "jsdoc",
"tagNamePreference": {
"property": "prop"
},
"preferredTypes": {
"object": "Object",
"Object": "object"
}
}
}
}