valid-browser
💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.
This rule checks that the browser property is a non-empty string.
Examples
Section titled “Examples”{ "browser": ["index.umd.js", "secondary.umd.js"]}{ "browser": "index.umd.js"}Related Rules
Section titled “Related Rules”require-browser- Enforces that thebrowserproperty is present.