no-danger-with-children false positive with newline in element #1262
Closed
Description
opened on Jun 15, 2017
The following reports an error on the no-danger-with-children
rule:
<div dangerouslySetInnerHTML={'<span>stuff</span>'}>
</div>
I would expect if there is a newline between the opening and closing tag that the rule would not complain.
Activity