Skip to content

Commit ec35e7c

Browse files
authored
eslint: Add eslint-plugin-package-json (#44559)
This eslint plugin will sort package.json files and apply other cleanups, replacing the manual use of `sort-package-json` which we're currently only applying to the monorepo root file. The configuration is slightly complex, in that we want different treatment for files in different places: * Only js-packages require a `name` field. * Only public js-packages require a description or version.
1 parent 40eee57 commit ec35e7c

File tree

185 files changed

+1457
-962
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+1457
-962
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"jetpack-js-tools": "workspace:*",
3737
"stylelint": "16.19.1"
3838
},
39+
"packageManager": "pnpm@10.4.0",
3940
"engines": {
4041
"node": "^22.12.0",
4142
"pnpm": "^10.4.0"
4243
},
43-
"packageManager": "pnpm@10.4.0",
4444
"pnpm": {
4545
"patchedDependencies": {
4646
"@wordpress/dataviews": ".pnpm-patches/@wordpress__dataviews@4.12.0.patch"

0 commit comments

Comments
 (0)