-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
85 lines (85 loc) · 1.92 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "validate-repos",
"repository": {
"type": "git",
"url": "git+https://github.com/w3c/validate-repos.git"
},
"license": "MIT",
"scripts": {
"lint": "eslint .",
"test": "nyc mocha"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@octokit/core": "^3.6.0",
"@octokit/plugin-throttling": "^3.5.2",
"@octokit/rest": "^20.0.1",
"gray-matter": "^4.0.3",
"node-w3capi": "^2.1.0",
"undici": "^5.28.4"
},
"devDependencies": {
"eslint": "^8.48.0",
"mocha": "^10.2.0",
"nyc": "^14.1.1",
"proxyquire": "^2.1.3",
"sinon": "^7.5.0"
},
"eslintConfig": {
"env": {
"es2023": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"array-bracket-spacing": "error",
"arrow-spacing": "error",
"block-spacing": "error",
"brace-style": "error",
"comma-spacing": "error",
"curly": "error",
"func-call-spacing": "error",
"generator-star-spacing": "error",
"indent": [
"error",
2
],
"key-spacing": "error",
"keyword-spacing": "error",
"no-multi-spaces": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"object-curly-spacing": "error",
"prefer-const": "error",
"rest-spread-spacing": "error",
"semi-spacing": "error",
"space-before-blocks": "error",
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
],
"space-in-parens": "error",
"space-infix-ops": "error",
"space-unary-ops": "error",
"template-curly-spacing": "error",
"yield-star-spacing": "error"
},
"parserOptions": {
"ecmaVersion": 2020
}
},
"nyc": {
"all": true,
"include": [
"lib/**"
],
"check-coverage": true,
"per-file": true,
"lines": 100
}
}