Skip to content

Commit 735f094

Browse files
chore: add tests for indent to highlight issue
The prettier ignore comment typically included at the top of these tests prevent the bug.
1 parent 492c32d commit 735f094

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
- message: Expected indentation of 2 spaces but found 0 spaces.
2+
line: 2
3+
column: 1
4+
suggestions: null
5+
- message: Expected indentation of 2 spaces but found 0 spaces.
6+
line: 3
7+
column: 1
8+
suggestions: null
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<script lang="ts">
2+
enum A { a }
3+
$a
4+
</script>
5+
6+
<!--tests/fixtures/rules/indent/invalid/ts/ts-enum-destore-combo.svelte-->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<script lang="ts">
2+
enum A { a }
3+
$a
4+
</script>
5+
6+
<!--tests/fixtures/rules/indent/invalid/ts/ts-enum-destore-combo.svelte-->

0 commit comments

Comments
 (0)