valid-man
💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.
This rule uses package-json-validator to validate the man property, if present, against the following criteria:
- It must be a string or an Array of strings
- The string(s) must end with a number (and optionally .gz)
Examples
Section titled “Examples”{ "man": ["./man/doc.md"]}{ "man": ["./man/doc.1", "./man/doc.2"]}{ "man": "./man/doc.1"}Related Rules
Section titled “Related Rules”require-man- Enforces that themanproperty is present.