This rule disallows the use of forbidden elements in template files.
The rule is configurable so teams can add their own disallowed elements.
The default list of forbidden elements are meta, style, html and script.
This rule forbids the following:
This rule allows the following:
- boolean -
trueto enable /falseto disable- array -- an array of strings to forbid, default: ['meta', 'style', 'html', 'style']
- object -- An object with the following keys:
forbidden-- An array of forbidden element names