Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.63 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 1.63 KB
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
{
"name": "@linchpin/coding-standards",
"version": "1.0.0",
"private": true,
"description": "Linchpin Coding Standards.",
"author": "Linchpin",
"license": "GPL-2.0-or-later",
"keywords": [
"phpcs",
"wordpress",
"coding-standards",
"linchpin"
],
"homepage": "https://github.com/linchpin/coding-standards",
"repository": {
"type": "git",
"url": "git+https://github.com/linchpin/coding-standards.git"
},
"bugs": {
"url": "https://github.com/linchpin/coding-standards/issues"
},
"packageManager": "npm@12.0.2",
"npmpackagejsonlint": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"description-format": [
"error",
{
"requireCapitalFirstLetter": true,
"requireEndingPeriod": true
}
],
"prefer-no-devDependencies": "warning",
"require-publishConfig": "error",
"require-repository-directory": "error",
"valid-values-author": [
"error",
[
"Linchpin"
]
],
"valid-values-publishConfig": [
"error",
[
{
"access": "public"
}
]
]
},
"overrides": [
{
"patterns": [
"./package.json"
],
"rules": {
"require-publishConfig": "off",
"require-repository-directory": "off",
"prefer-no-devDependencies": "off"
}
}
]
},
"devDependencies": {
"@commitlint/cli": "^21.2.1",
"@commitlint/config-conventional": "^21.2.0",
"@linchpinagency/commitlint-config": "^1.2.0",
"@wordpress/npm-package-json-lint-config": "^5.0.0",
"husky": "^9.1.7",
"npm-package-json-lint": "^11.0.0"
},
"scripts": {
"lint-pkg-json": "npmPkgJsonLint .",
"test": "npm run lint-pkg-json",
"prepare": "husky"
}
}