# "disallow-tags" Rule Disallows tags defined at rule level. ## Notes - Dependent on abstract tree build (global "disableTreeParse" configuration must **not** be true); - Recommended tags to be disallowed: "isscript", "br", "style", "[iframe][iframe]"; ## Configuration Following are the available configurations for this rule: ```js "disallow-tags": { values: [] } ``` Check the [Generic Configurations for Rules][generic-config]. ## Examples ```js "disallow-tags": { values : ["isscript", "br", "style", "iframe"] } ``` For the above configuration, the following scenarios may happen: ```
// Invalid; // Invalid;
// Valid; ``` ``` // Valid; Some hardcoded text // Valid; // Valid; ${'Some expression'} // Valid; ``` [iframe]: [generic-config]: <../generic-rule-config.md>