forked from DavidAnson/markdownlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
73 lines (73 loc) · 1.95 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
{
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"node": true,
"es6": true
},
"plugins": [
"jsdoc"
],
"extends": [
"eslint:all",
"plugin:jsdoc/recommended"
],
"settings": {
"jsdoc": {
"preferredTypes": {
"object": "Object"
}
}
},
"rules": {
"array-bracket-spacing": ["error", "always"],
"array-element-newline": "off",
"capitalized-comments": "off",
"complexity": "off",
"dot-location": ["error", "property"],
"func-style": ["error", "declaration"],
"function-call-argument-newline": "off",
"function-paren-newline": "off",
"global-require": "off",
"id-length": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-params": ["error", 10],
"max-statements": "off",
"multiline-comment-style": ["error", "separate-lines"],
"multiline-ternary": "off",
"newline-per-chained-call": "off",
"no-empty-function": "off",
"no-extra-parens": "off",
"no-implicit-coercion": "off",
"no-magic-numbers": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-sync": "off",
"no-ternary": "off",
"no-undefined": "off",
"object-curly-spacing": ["error", "always"],
"object-shorthand": "off",
"one-var": "off",
"operator-linebreak": ["error", "after"],
"padded-blocks": "off",
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-named-capture-group": "off",
"prefer-template": "off",
"require-unicode-regexp": "off",
"sort-keys": "off",
"space-before-function-paren": ["error", "never"],
"vars-on-top": "off",
"wrap-regex": "off",
"jsdoc/check-examples": "error",
"jsdoc/check-indentation": "error",
"jsdoc/check-syntax": "error",
"jsdoc/match-description": "error",
"jsdoc/require-description": "error"
}
}