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
I have a component that wraps textarea with Markdown support. Because I can't pass strings to children (is that true? I'm new to Svelte), I had to make a value prop.
When I pass a markdown string in, I get a svelte/no-useless-mustaches warning, but the mustache isn't useless as the template literal allows me to make it multiline.
<HyperMD value={`# Doc
Text goes here`} />
I know I could just move it, but I feel like the rule is wrong here, the mustache isn't useless.
The text was updated successfully, but these errors were encountered:
Description
I have a component that wraps
textarea
with Markdown support. Because I can't pass strings to children (is that true? I'm new to Svelte), I had to make avalue
prop.When I pass a markdown string in, I get a
svelte/no-useless-mustaches
warning, but the mustache isn't useless as the template literal allows me to make it multiline.I know I could just move it, but I feel like the rule is wrong here, the mustache isn't useless.
The text was updated successfully, but these errors were encountered: