-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (47 loc) · 1.45 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
{
"extends": "airbnb",
"parserOptions": {
"ecmaFeatures": {
"defaultParams": false,
"destructuring": false,
"forOf": true,
"generators": true,
"modules": false,
"restParams": true
},
"sourceType": "script"
},
"plugins": ["jsdoc"],
"rules": {
"func-names": 0,
"strict": [2, "global"],
"indent": [2, 4, {"SwitchCase": 1}],
"space-before-function-paren": [2, {"anonymous": "always", "named": "always"}],
"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/newline-after-description": 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-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
]
}
}