eslint-plugin-package-json 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -79
- package/lib/createRule.d.mts +2 -2
- package/lib/experimental/index.d.mts +34 -0
- package/lib/experimental/index.mjs +7 -0
- package/lib/experimental/plugin.d.mts +40 -0
- package/lib/experimental/plugin.mjs +32 -0
- package/lib/index.d.mts +7 -9
- package/lib/plugin.d.mts +4 -4
- package/lib/rules/require-properties.mjs +1 -0
- package/lib/types/estree.d.mts +1 -1
- package/lib/utils/createSimpleRequirePropertyRule.d.mts +1 -1
- package/package.json +19 -11
- package/CHANGELOG.md +0 -1436
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-package-json",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Rules for consistent, readable, and valid package.json files. 🗂️",
|
|
5
5
|
"homepage": "https://github.com/michaelfaith/eslint-plugin-package-json#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "michael faith",
|
|
26
|
-
"email": "michaelfaith@users.noreply.github.com",
|
|
27
26
|
"url": "https://michael.faith"
|
|
28
27
|
}
|
|
29
28
|
],
|
|
@@ -33,11 +32,14 @@
|
|
|
33
32
|
".": {
|
|
34
33
|
"types": "./lib/index.d.mts",
|
|
35
34
|
"default": "./lib/index.mjs"
|
|
35
|
+
},
|
|
36
|
+
"./experimental": {
|
|
37
|
+
"types": "./lib/experimental/index.d.mts",
|
|
38
|
+
"default": "./lib/experimental/index.mjs"
|
|
36
39
|
}
|
|
37
40
|
},
|
|
38
41
|
"main": "lib/index.mjs",
|
|
39
42
|
"files": [
|
|
40
|
-
"CHANGELOG.md",
|
|
41
43
|
"lib/"
|
|
42
44
|
],
|
|
43
45
|
"dependencies": {
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
"detect-indent": "^7.0.2",
|
|
47
49
|
"detect-newline": "^4.0.1",
|
|
48
50
|
"eslint-fix-utils": "~0.4.1",
|
|
51
|
+
"eslint-json-compat-utils": "^0.2.3",
|
|
49
52
|
"jsonc-eslint-parser": "^3.1.0",
|
|
50
53
|
"package-json-validator": "^1.5.0",
|
|
51
54
|
"semver": "^7.7.3",
|
|
@@ -57,6 +60,7 @@
|
|
|
57
60
|
"@catppuccin/starlight": "2.0.1",
|
|
58
61
|
"@eslint-community/eslint-plugin-eslint-comments": "4.7.0",
|
|
59
62
|
"@eslint/js": "10.0.1",
|
|
63
|
+
"@eslint/json": "1.2.0",
|
|
60
64
|
"@eslint/markdown": "8.0.1",
|
|
61
65
|
"@types/estree": "1.0.8",
|
|
62
66
|
"@types/node": "24.12.0",
|
|
@@ -67,10 +71,10 @@
|
|
|
67
71
|
"astro-og-canvas": "0.11.1",
|
|
68
72
|
"canvaskit-wasm": "0.41.1",
|
|
69
73
|
"console-fail-test": "0.6.0",
|
|
70
|
-
"eslint": "10.
|
|
71
|
-
"eslint-doc-generator": "3.
|
|
74
|
+
"eslint": "10.4.0",
|
|
75
|
+
"eslint-doc-generator": "3.6.0",
|
|
72
76
|
"eslint-plugin-eslint-plugin": "7.3.1",
|
|
73
|
-
"eslint-plugin-jsdoc": "
|
|
77
|
+
"eslint-plugin-jsdoc": "63.0.0",
|
|
74
78
|
"eslint-plugin-jsonc": "3.1.0",
|
|
75
79
|
"eslint-plugin-n": "18.0.0",
|
|
76
80
|
"eslint-plugin-node-dependencies": "2.2.0",
|
|
@@ -78,27 +82,31 @@
|
|
|
78
82
|
"eslint-plugin-regexp": "3.1.0",
|
|
79
83
|
"eslint-plugin-unicorn": "64.0.0",
|
|
80
84
|
"eslint-plugin-yml": "3.3.0",
|
|
81
|
-
"husky": "9.1.7",
|
|
82
85
|
"jiti": "2.7.0",
|
|
83
86
|
"json-schema-to-ts": "3.1.1",
|
|
84
|
-
"knip": "6.
|
|
85
|
-
"lint-staged": "17.0.2",
|
|
87
|
+
"knip": "6.14.0",
|
|
86
88
|
"prettier": "3.8.0",
|
|
87
89
|
"prettier-plugin-curly": "0.4.0",
|
|
88
90
|
"prettier-plugin-packagejson": "3.0.0",
|
|
89
|
-
"prettier-plugin-sentences-per-line": "0.2.3",
|
|
90
91
|
"prettier-plugin-sh": "0.18.0",
|
|
91
92
|
"pretty-quick": "4.2.2",
|
|
92
93
|
"sharp": "0.34.5",
|
|
94
|
+
"simple-git-hooks": "2.13.1",
|
|
93
95
|
"starlight-auto-sidebar": "0.4.0",
|
|
94
96
|
"tsdown": "0.22.0",
|
|
95
97
|
"typescript": "6.0.2",
|
|
96
|
-
"typescript-eslint": "8.
|
|
98
|
+
"typescript-eslint": "8.60.0",
|
|
97
99
|
"vitest": "4.1.0"
|
|
98
100
|
},
|
|
99
101
|
"peerDependencies": {
|
|
102
|
+
"@eslint/json": ">=1.0.0",
|
|
100
103
|
"eslint": ">=9.0.0"
|
|
101
104
|
},
|
|
105
|
+
"peerDependenciesMeta": {
|
|
106
|
+
"@eslint/json": {
|
|
107
|
+
"optional": true
|
|
108
|
+
}
|
|
109
|
+
},
|
|
102
110
|
"engines": {
|
|
103
111
|
"node": "^22.22.2 || >=24.15.0"
|
|
104
112
|
},
|