You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mustafa0x
changed the title
Add rule: disable es6 template literals (eg ``{foo${bar}}``) in attributes
Add rule: disable es6 template literals in attributes
Oct 29, 2024
mustafa0x
changed the title
Add rule: disable es6 template literals in attributes
Add rule: warn if entire attribute value is placed in es6 template literal
Oct 29, 2024
Motivation
some developers (and ai, too!) will write attributes in jsx style. eg
<a href={`https://example.com${path}`}>link</a>
.in idiomatic svelte, this should be
<a href="https://example.com{path}">link</a>
Description
warn on
attr={``}
Examples
Additional comments
No response
The text was updated successfully, but these errors were encountered: