valid-browser
ðž This rule is enabled in the â
recommended config.
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.