Skip to content

Commit f38495d

Browse files
committed
chore: fix doc
1 parent d4b52e6 commit f38495d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/rules/experimental-require-strict-events.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
2020
<!--eslint-skip-->
2121

2222
```svelte
23-
<!-- eslint svelte/experimental-require-strict-events: "error" -->
24-
2523
<!-- ✓ GOOD -->
2624
<script lang="ts" strictEvents>
25+
/* eslint svelte/experimental-require-strict-events: "error" */
2726
</script>
2827
```
2928

@@ -34,10 +33,9 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
3433
<!--eslint-skip-->
3534

3635
```svelte
37-
<!-- eslint svelte/experimental-require-strict-events: "error" -->
38-
3936
<!-- ✓ GOOD -->
4037
<script lang="ts">
38+
/* eslint svelte/experimental-require-strict-events: "error" */
4139
interface $$Events {}
4240
</script>
4341
```
@@ -49,10 +47,9 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
4947
<!--eslint-skip-->
5048

5149
```svelte
52-
<!-- eslint svelte/experimental-require-strict-events: "error" -->
53-
5450
<!-- ✗ BAD -->
5551
<script lang="ts">
52+
/* eslint svelte/experimental-require-strict-events: "error" */
5653
</script>
5754
```
5855

0 commit comments

Comments
 (0)