We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2fb59c commit b37cc88Copy full SHA for b37cc88
docs/rules/html-quotes.md
@@ -25,19 +25,19 @@ This rule enforces the quotes style of HTML attributes.
25
<eslint-code-block fix>
26
27
<!--eslint-skip-->
28
-
+<!-- prettier-ignore -->
29
```html
30
<script>
31
/* eslint @ota-meshi/svelte/html-quotes: "error" */
32
</script>
33
34
<!-- ✓ GOOD -->
35
-<input type="text" bind:value="{text}" />
36
-<img src="{src}" alt="{name} dances." />
+<input type="text" bind:value={text} />
+<img {src} alt="{name} dances." />
37
38
<!-- ✗ BAD -->
39
40
+<input type=text bind:value="{text}" />
+<img src="{src}" alt='{name} dances.' />
41
```
42
43
</eslint-code-block>
0 commit comments