Skip to content

Commit c67dba1

Browse files
committed
fix and add test
1 parent dba5901 commit c67dba1

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

packages/eslint-plugin-svelte/tests/fixtures/rules/valid-compile/invalid/invalid-svelte-ignore01-errors.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
line: 6
55
column: 3
66
suggestions: null
7-
- message: A form label must be associated with a
8-
control(a11y_label_has_associated_control)
7+
- message: |-
8+
A form label must be associated with a control
9+
https://svelte.dev/e/a11y_label_has_associated_control(a11y_label_has_associated_control)
910
line: 6
1011
column: 3
1112
suggestions: null
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<div class="chess-board">
2+
{#each { length: 8 }, rank}
3+
{#each { length: 8 }}
4+
{rank}
5+
{/each}
6+
{/each}
7+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"svelte": "^5.0.0"
3+
}

0 commit comments

Comments
 (0)