forked from DavidAnson/vscode-markdownlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 1.22 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
{
"parser": "espree",
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"node": true,
"es6": true
},
"extends": "eslint:all",
"rules": {
"array-bracket-spacing": ["error", "always"],
"dot-location": ["error", "property"],
"func-style": ["error", "declaration"],
"function-paren-newline": ["error", "consistent"],
"global-require": "off",
"indent": ["error", "tab"],
"linebreak-style": "off",
"max-depth": ["error", 6],
"max-len": ["error", 130],
"max-lines": ["error", 700],
"max-lines-per-function": ["error", 90],
"max-statements": ["error", 40],
"no-extra-parens": "off",
"no-magic-numbers": "off",
"no-sync": "off",
"no-tabs": "off",
"no-ternary": "off",
"no-undefined": "off",
"no-use-before-define": ["error", { "functions": false }],
"one-var": "off",
"operator-linebreak": ["error", "after"],
"padded-blocks": "off",
"prefer-destructuring": "off",
"prefer-named-capture-group": "off",
"prefer-template": "off",
"require-unicode-regexp": "off",
"sort-keys": "off"
}
}