eslint-plugin-package-json 0.86.0 → 0.87.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/CHANGELOG.md CHANGED
@@ -1,11 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.87.0](///compare/v0.86.0...v0.87.0) (2025-12-30)
4
+
5
+ ### Features
6
+
7
+ * move `order-properties` from `recommended` to `stylistic` config ([#1475](undefined/undefined/undefined/issues/1475)) b9a9978, closes #1471
8
+
3
9
  ## [0.86.0](///compare/v0.85.0...v0.86.0) (2025-12-30)
4
10
 
5
11
  ### Features
6
12
 
7
- * remove deprecated valid-local-dependency rule ([#1450](undefined/undefined/undefined/issues/1450)) 3e36e30, closes #1168
8
- * **valid-module:** add rule to validate `module` ([#1462](undefined/undefined/undefined/issues/1462)) ee376e0, closes #1034
13
+ - remove deprecated valid-local-dependency rule ([#1450](undefined/undefined/undefined/issues/1450)) 3e36e30, closes #1168
14
+ - **valid-module:** add rule to validate `module` ([#1462](undefined/undefined/undefined/issues/1462)) ee376e0, closes #1034
9
15
 
10
16
  ## [0.85.0](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.84.0...v0.85.0) (2025-11-18)
11
17
 
package/README.md CHANGED
@@ -209,7 +209,7 @@ The default settings don't conflict, and Prettier plugins can quickly fix up ord
209
209
  | [no-empty-fields](docs/rules/no-empty-fields.md) | Reports on unnecessary empty arrays and objects. | ✔️ ✅ 📦 | | 💡 | |
210
210
  | [no-redundant-files](docs/rules/no-redundant-files.md) | Prevents adding unnecessary / redundant files. | ✔️ ✅ 📦 | | 💡 | |
211
211
  | [no-redundant-publishConfig](docs/rules/no-redundant-publishConfig.md) | Warns when publishConfig.access is used in unscoped packages. | ✔️ ✅ 📦 | | 💡 | |
212
- | [order-properties](docs/rules/order-properties.md) | Package properties must be declared in standard order | ✔️ ✅ 📦 | 🔧 | | |
212
+ | [order-properties](docs/rules/order-properties.md) | Package properties should be declared in standard order | 🎨 | 🔧 | | |
213
213
  | [repository-shorthand](docs/rules/repository-shorthand.md) | Enforce either object or shorthand declaration for repository. | ✔️ ✅ 📦 | 🔧 | | |
214
214
  | [require-attribution](docs/rules/require-attribution.md) | Ensures that proper attribution is included, requiring that either `author` or `contributors` is defined, and that if `contributors` is present, it should include at least one contributor. | 📦 | | 💡 | |
215
215
  | [require-author](docs/rules/require-author.md) | Requires the `author` property to be present. | | | | |
@@ -70,12 +70,11 @@ const rule = createRule({
70
70
  meta: {
71
71
  defaultOptions: [{ order: "sort-package-json" }],
72
72
  docs: {
73
- category: "Best Practices",
74
- description: "Package properties must be declared in standard order",
75
- recommended: true
73
+ category: "Stylistic",
74
+ description: "Package properties should be declared in standard order"
76
75
  },
77
76
  fixable: "code",
78
- messages: { incorrectOrder: "Package top-level property \"{{property}}\" is not ordered in the npm standard way. Run the ESLint auto-fixer to correct." },
77
+ messages: { incorrectOrder: "Top-level property \"{{property}}\" is not ordered in the standard way." },
79
78
  schema: [{
80
79
  additionalProperties: false,
81
80
  properties: { order: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-package-json",
3
- "version": "0.86.0",
3
+ "version": "0.87.0",
4
4
  "description": "Rules for consistent, readable, and valid package.json files. 🗂️",
5
5
  "homepage": "https://github.com/JoshuaKGoldberg/eslint-plugin-package-json#readme",
6
6
  "bugs": {