Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 533 Bytes

File metadata and controls

26 lines (18 loc) · 533 Bytes

valid-keywords

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

This rule does the following checks on the value of the keywords property:

  • It must be an array.
  • The array should only consist of non-empty strings

Example of incorrect code for this rule:

{
	"keywords": "music"
}

Example of correct code for this rule:

{
	"keywords": ["nin", "A Silver Mt. Zion"]
}