Skip to content

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)
{
"man": ["./man/doc.md"]
}
  • require-man - Enforces that the man property is present.