💼 This rule is enabled in the ✅ recommended
config.
This rule applies two validations to the "name"
property:
- It must be a string rather than any other data type
- It should pass
validate-npm-package-name
validation
Example of incorrect code for this rule:
{
"name": "Exciting! Package! Name!"
}
Example of correct code for this rule:
{
"name": "exciting-package-name"
}