terNoScriptUrlRule.md
February 26, 2018 ยท View on GitHub
ter-no-script-url (ESLint: no-script-url)
disallow use of javascript: urls.
Rationale
Using javascript: URLs is considered by some as a form of eval. Code passed in javascript: URLs has to be parsed and evaluated by the browser in the same way that eval is processed.
Config
Examples
"ter-no-script-url": true
Schema
{}