UNPKG

@masknet/eslint-plugin

Version:
30 lines (18 loc) 465 B
<!-- begin title --> # `@masknet/jsx/no-set-html` Disallow use `dangerouslySetInnerHTML` jsx attribute <!-- end title --> ## Rule Details ## Options ### :x: Incorrect ```jsx <a dangerouslySetInnerHTML={{ __html: "...." }} /> ``` ## Attributes <!-- begin attributes --> - [x] :white_check_mark: Recommended - [ ] :wrench: Fixable - [ ] :bulb: Suggestions - [ ] :gear: Configurable - [ ] :thought_balloon: Requires type information <!-- end attributes -->