Skip to content

valid-module

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

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

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