forked from paulallen87/chaturbate-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
76 lines (76 loc) · 1.89 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"extends": [
"eslint:all",
"google",
"plugin:node/recommended"
],
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"node": true,
"es6": true,
"browser": true,
"mocha": true
},
"plugins": [
"node",
"jsdoc"
],
"rules": {
"valid-jsdoc": "error",
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": true
}
}],
"node/exports-style": ["error", "module.exports"],
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/newline-after-description": 2,
"jsdoc/require-description-complete-sentence": 2,
"jsdoc/require-example": 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,
"indent": "off",
"max-lines": "off",
"no-undefined": "off",
"padded-blocks": "off",
"no-underscore-dangle": "off",
"arrow-body-style": "off",
"object-curly-newline": "off",
"object-shorthand": "off",
"no-sync": "off",
"strict": "warn",
"max-statements": "off",
"max-params": "off",
"id-length": "off",
"no-warning-comments": "warn",
"sort-keys": "off",
"array-element-newline": "off",
"newline-per-chained-call": "off",
"no-magic-numbers": "off",
"dot-location": "off",
"no-ternary": "off",
"multiline-ternary": "off",
"no-extra-parens": "off",
"no-irregular-whitespace": "off"
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"returns": "return",
"augments": "extends",
"class": "constructor"
}
}
}
}