-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
package.json
55 lines (55 loc) · 1.28 KB
/
package.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
{
"name": "expressjs.com",
"version": "0.0.0",
"private": true,
"scripts": {
"test": "eslint --ignore-path .gitignore --ignore-pattern _includes/readmes/ \"**/*.md\""
},
"devDependencies": {
"eslint": "^8.54.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0"
},
"eslintConfig": {
"extends": [
"standard",
"plugin:markdown/recommended"
],
"plugins": [
"markdown"
],
"overrides": [
{
"files": "**/*.md",
"processor": "markdown/markdown"
},
{
"files": "**/*.md/*.js",
"rules": {
"array-callback-return": "off",
"no-var": "error",
"n/handle-callback-err": "off",
"object-shorthand": "error",
"prefer-arrow-callback": "error",
"prefer-template": "error"
}
},
{
"files": [
"**/3x/*.md/*.js",
"**/4x/*.md/*.js",
"**/guide/migrating-4.md/*.js"
],
"rules": {
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off"
}
}
]
}
}