File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 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
2424
2525<ESLintCodeBlock fix >
2626
27+ <!-- prettier-ignore-start -->
2728<!-- eslint-skip-->
2829
2930``` svelte
@@ -32,10 +33,22 @@ There is a configurable number of attributes that are acceptable in one-line cas
3233</script>
3334
3435<!-- ✓ 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+ >
3952
4053<!-- ✗ BAD -->
4154<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
4457
4558</ESLintCodeBlock >
4659
60+ <!-- prettier-ignore-end -->
61+
4762## :wrench : Options
4863
4964``` json
You can’t perform that action at this time.
0 commit comments