Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 443 Bytes

File metadata and controls

23 lines (16 loc) · 443 Bytes

valid-module

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

This rule checks that the module property is a non-empty string.

Example of incorrect code for this rule:

{
	"module": ["index.js", "secondary.js"]
}

Example of correct code for this rule:

{
	"module": "index.js"
}