Skip to content

Commit f1036ce

Browse files
committed
add test
1 parent dc21e85 commit f1036ce

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
- message: Expected indentation of 2 spaces but found 0 spaces.
2+
line: 3
3+
column: 1
4+
suggestions: null
5+
- message: Expected indentation of 4 spaces but found 0 spaces.
6+
line: 4
7+
column: 1
8+
suggestions: null
9+
- message: Expected indentation of 4 spaces but found 0 spaces.
10+
line: 5
11+
column: 1
12+
suggestions: null
13+
- message: Expected indentation of 4 spaces but found 0 spaces.
14+
line: 6
15+
column: 1
16+
suggestions: null
17+
- message: Expected indentation of 2 spaces but found 0 spaces.
18+
line: 7
19+
column: 1
20+
suggestions: null
21+
- message: Expected indentation of 2 spaces but found 0 spaces.
22+
line: 8
23+
column: 1
24+
suggestions: null
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- prettier-ignore -->
2+
<script>
3+
if (
4+
a === b ||
5+
c === d ||
6+
e === f
7+
) {
8+
}
9+
</script>
10+
11+
<!--tests/fixtures/rules/indent/invalid/script-binary03-input.svelte-->
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- prettier-ignore -->
2+
<script>
3+
if (
4+
a === b ||
5+
c === d ||
6+
e === f
7+
) {
8+
}
9+
</script>
10+
11+
<!--tests/fixtures/rules/indent/invalid/script-binary03-input.svelte-->

0 commit comments

Comments
 (0)