Skip to content

valid-name

💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.

This rule uses package-json-validator to validate the name property, if present, against the following criteria:

{
"name": "Exciting! Package! Name!"
}
  • require-name - Enforces that the name property is present.