-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.eslintrc.json
49 lines (49 loc) · 1.13 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
{
"env": {
"browser": true,
"node": true
},
"extends": ["eslint:all", "plugin:@stylistic/all-extends"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"root": true,
"rules": {
"array-callback-return": "off",
"consistent-this": "off",
"consistent-return": "off",
"id-length": "off",
"line-comment-position": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"max-params": "off",
"max-statements": "off",
"no-inline-comments": "off",
"no-magic-numbers": "off",
"no-plusplus": "off",
"no-ternary": "off",
"no-unused-vars": [
"error",
{ "vars": "all", "args": "none", "ignoreRestSiblings": false }
],
"one-var": "off",
"sort-keys": "off",
"sort-vars": "off"
},
"overrides": [
{
"files": ["*.json", "*.json5"],
"parser": "jsonc-eslint-parser"
},
{
"files": ["*.md"],
"parser": "eslint-plugin-markdownlint/parser",
"extends": ["plugin:markdownlint/recommended"],
"rules": {
"markdownlint/md013": "off",
"markdownlint/md033": "off"
}
}
]
}