Pattern: Unresolved compile warning
Issue: -
Disallow warnings when compiling.
Example of incorrect code:
---
let string = "Foo"
---
<p set:text="string">string</p>
<p set:text={string}>{string}</p>
<p set:text={string}>string</p>
<p set:text="string">{string}</p>
<button set:text="string">
<div></div>
</button>
<button set:text="string">
<div>Foo</div>{string}
</button>
<p set:text="string">
<!-- comment -->{string}
</p>
Example of correct code:
---
let string = "Foo"
---
<p></p>
<p>string</p>
<p>{string}</p>
<p>
<!-- comment -->{string}
</p>
<div><p></p></div>