File tree 1 file changed +19
-4
lines changed
1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ There is a configurable number of attributes that are acceptable in one-line cas
24
24
25
25
<ESLintCodeBlock fix >
26
26
27
+ <!-- prettier-ignore-start -->
27
28
<!-- eslint-skip-->
28
29
29
30
``` svelte
@@ -32,10 +33,22 @@ There is a configurable number of attributes that are acceptable in one-line cas
32
33
</script>
33
34
34
35
<!-- ✓ GOOD -->
35
- <input type="text" bind:value={text} {maxlength} {...attrs} readonly size="20" />
36
- <button type="button" on:click={click} {maxlength} {...attrs} disabled data-my-data="foo">
37
- CLICK ME!
38
- </button>
36
+ <input
37
+ type="text"
38
+ bind:value={text}
39
+ {maxlength}
40
+ {...attrs}
41
+ readonly
42
+ size="20"
43
+ />
44
+ <button
45
+ type="button"
46
+ on:click={click}
47
+ {maxlength}
48
+ {...attrs}
49
+ disabled
50
+ data-my-data="foo"
51
+ >
39
52
40
53
<!-- ✗ BAD -->
41
54
<input type="text" bind:value={text} {maxlength} {...attrs} readonly />
@@ -44,6 +57,8 @@ There is a configurable number of attributes that are acceptable in one-line cas
44
57
45
58
</ESLintCodeBlock >
46
59
60
+ <!-- prettier-ignore-end -->
61
+
47
62
## :wrench : Options
48
63
49
64
``` json
You can’t perform that action at this time.
0 commit comments