Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 609 Bytes

File metadata and controls

26 lines (18 loc) · 609 Bytes

valid-name

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

This rule applies two validations to the name property:

Example of incorrect code for this rule:

{
	"name": "Exciting! Package! Name!"
}

Example of correct code for this rule:

{
	"name": "exciting-package-name"
}