Skip to content

Commit 7d0ba5b

Browse files
committed
Merge branch 'main' into require-slot-types
2 parents a5afef5 + 9c9394c commit 7d0ba5b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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

+21
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,31 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
2525
<!-- ✓ GOOD -->
2626
<script lang="ts" strictEvents>
2727
</script>
28+
```
29+
30+
</ESLintCodeBlock>
2831

32+
<ESLintCodeBlock>
33+
34+
<!--eslint-skip-->
35+
36+
```svelte
37+
<!-- eslint svelte/experimental-require-strict-events: "error" -->
38+
39+
<!-- ✓ GOOD -->
2940
<script lang="ts">
3041
interface $$Events {}
3142
</script>
43+
```
44+
45+
</ESLintCodeBlock>
46+
47+
<ESLintCodeBlock>
48+
49+
<!--eslint-skip-->
50+
51+
```svelte
52+
<!-- eslint svelte/experimental-require-strict-events: "error" -->
3253
3354
<!-- ✗ BAD -->
3455
<script lang="ts">

0 commit comments

Comments
 (0)