eslint-plugin-package-json 0.90.0 → 0.90.1

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,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.90.1](https://github.com/michaelfaith/eslint-plugin-package-json/compare/v0.90.0...v0.90.1) (2026-03-10)
4
+
5
+
6
+ ### 🚀 Features
7
+
8
+ * add `require-bin` rule ([#1652](https://github.com/michaelfaith/eslint-plugin-package-json/issues/1652)) ([434e605](https://github.com/michaelfaith/eslint-plugin-package-json/commit/434e60523a067128e92baa8debf0362ef06c89c6))
9
+ * add `require-contributors` rule ([#1648](https://github.com/michaelfaith/eslint-plugin-package-json/issues/1648)) ([4a666ea](https://github.com/michaelfaith/eslint-plugin-package-json/commit/4a666ea9487c4afcc9a0ca0e730d51368266c06a))
10
+ * add `require-devEngines` rule ([#1649](https://github.com/michaelfaith/eslint-plugin-package-json/issues/1649)) ([608744c](https://github.com/michaelfaith/eslint-plugin-package-json/commit/608744c3cb29f2dd9808a91cfb99def404a9bdf2))
11
+ * add `require-directories` rule ([#1654](https://github.com/michaelfaith/eslint-plugin-package-json/issues/1654)) ([91369d6](https://github.com/michaelfaith/eslint-plugin-package-json/commit/91369d614c72707eeb9f42d73e971645e3ab590f))
12
+ * add `require-funding` rule ([#1647](https://github.com/michaelfaith/eslint-plugin-package-json/issues/1647)) ([d2405a1](https://github.com/michaelfaith/eslint-plugin-package-json/commit/d2405a1e6e05ef27bcca850ff5cc034c78c51780))
13
+ * add `require-man` rule ([#1653](https://github.com/michaelfaith/eslint-plugin-package-json/issues/1653)) ([e1cdd8a](https://github.com/michaelfaith/eslint-plugin-package-json/commit/e1cdd8ae35e768772fba92e0188798ac4870099d))
14
+
3
15
  ## [0.90.0](https://github.com/michaelfaith/eslint-plugin-package-json/compare/v0.89.4...v0.90.0) (2026-03-10)
4
16
 
5
17
 
package/README.md CHANGED
@@ -217,18 +217,24 @@ The default settings don't conflict, and Prettier plugins can quickly fix up ord
217
217
  | [repository-shorthand](docs/rules/repository-shorthand.md) | Enforce either object or shorthand declaration for repository. | ✔️ ✅ 📦 | 🔧 | | |
218
218
  | [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. | ✔️ ✅ 📦 | | 💡 | |
219
219
  | [require-author](docs/rules/require-author.md) | Requires the `author` property to be present. | | | | |
220
+ | [require-bin](docs/rules/require-bin.md) | Requires the `bin` property to be present. | | | | |
220
221
  | [require-bugs](docs/rules/require-bugs.md) | Requires the `bugs` property to be present. | | | | |
221
222
  | [require-bundleDependencies](docs/rules/require-bundleDependencies.md) | Requires the `bundleDependencies` property to be present. | | | | |
223
+ | [require-contributors](docs/rules/require-contributors.md) | Requires the `contributors` property to be present. | | | | |
222
224
  | [require-dependencies](docs/rules/require-dependencies.md) | Requires the `dependencies` property to be present. | | | | |
223
225
  | [require-description](docs/rules/require-description.md) | Requires the `description` property to be present. | ✔️ ✅ 📦 | | | |
224
226
  | [require-devDependencies](docs/rules/require-devDependencies.md) | Requires the `devDependencies` property to be present. | | | | |
227
+ | [require-devEngines](docs/rules/require-devEngines.md) | Requires the `devEngines` property to be present. | | | | |
228
+ | [require-directories](docs/rules/require-directories.md) | Requires the `directories` property to be present. | | | | |
225
229
  | [require-engines](docs/rules/require-engines.md) | Requires the `engines` property to be present. | | | | |
226
230
  | [require-exports](docs/rules/require-exports.md) | Requires the `exports` property to be present. | ✔️ ✅ 📦 | | | |
227
231
  | [require-files](docs/rules/require-files.md) | Requires the `files` property to be present. | ✔️ ✅ 📦 | | | |
232
+ | [require-funding](docs/rules/require-funding.md) | Requires the `funding` property to be present. | | | | |
228
233
  | [require-homepage](docs/rules/require-homepage.md) | Requires the `homepage` property to be present. | | | | |
229
234
  | [require-keywords](docs/rules/require-keywords.md) | Requires the `keywords` property to be present. | | | | |
230
235
  | [require-license](docs/rules/require-license.md) | Requires the `license` property to be present. | ✔️ ✅ 📦 | | | |
231
236
  | [require-main](docs/rules/require-main.md) | Requires the `main` property to be present. | | | | |
237
+ | [require-man](docs/rules/require-man.md) | Requires the `man` property to be present. | | | | |
232
238
  | [require-name](docs/rules/require-name.md) | Requires the `name` property to be present. | ✔️ ✅ 📦 | | | |
233
239
  | [require-optionalDependencies](docs/rules/require-optionalDependencies.md) | Requires the `optionalDependencies` property to be present. | | | | |
234
240
  | [require-os](docs/rules/require-os.md) | Requires the `os` property to be present. | | | | |
@@ -2,11 +2,15 @@ import { createSimpleRequirePropertyRule } from "../utils/createSimpleRequirePro
2
2
  //#region src/rules/require-properties.ts
3
3
  const propertyConfig = [
4
4
  ["author"],
5
+ ["bin"],
5
6
  ["bugs", { ignorePrivateDefault: true }],
6
7
  ["bundleDependencies"],
8
+ ["contributors"],
7
9
  ["dependencies"],
8
10
  ["description", { isRecommended: true }],
9
11
  ["devDependencies"],
12
+ ["devEngines"],
13
+ ["directories"],
10
14
  ["engines"],
11
15
  ["exports", {
12
16
  ignorePrivateDefault: true,
@@ -16,6 +20,7 @@ const propertyConfig = [
16
20
  ignorePrivateDefault: true,
17
21
  isRecommended: true
18
22
  }],
23
+ ["funding"],
19
24
  ["homepage", { ignorePrivateDefault: true }],
20
25
  ["keywords", { ignorePrivateDefault: true }],
21
26
  ["license", {
@@ -23,6 +28,7 @@ const propertyConfig = [
23
28
  isRecommended: true
24
29
  }],
25
30
  ["main"],
31
+ ["man"],
26
32
  ["name", {
27
33
  ignorePrivateDefault: true,
28
34
  isRecommended: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-package-json",
3
- "version": "0.90.0",
3
+ "version": "0.90.1",
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": {
@@ -81,7 +81,7 @@
81
81
  "jiti": "2.6.1",
82
82
  "json-schema-to-ts": "3.1.1",
83
83
  "jsonc-eslint-parser": "3.1.0",
84
- "knip": "5.85.0",
84
+ "knip": "5.86.0",
85
85
  "lint-staged": "16.3.0",
86
86
  "prettier": "3.8.0",
87
87
  "prettier-plugin-curly": "0.4.0",