valid-man
💼 This rule is enabled in the following configs: ✔️ legacy-recommended, ✅ recommended, 📦 recommended-publishable.
This rule does the following checks on the value of the man property:
- It must be a string or an array of strings
- The string(s) must end with a number (and optionally .gz)
Example of incorrect code for this rule:
{ "man": ["./man/doc.md"]}Example of correct code for this rule:
{ "man": ["./man/doc.1", "./man/doc.2"]}{ "man": "./man/doc.1"}