File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,9 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
20
20
<!-- eslint-skip-->
21
21
22
22
``` svelte
23
- <!-- eslint svelte/experimental-require-strict-events: "error" -->
24
-
25
23
<!-- ✓ GOOD -->
26
24
<script lang="ts" strictEvents>
25
+ /* eslint svelte/experimental-require-strict-events: "error" */
27
26
</script>
28
27
```
29
28
@@ -34,10 +33,9 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
34
33
<!-- eslint-skip-->
35
34
36
35
``` svelte
37
- <!-- eslint svelte/experimental-require-strict-events: "error" -->
38
-
39
36
<!-- ✓ GOOD -->
40
37
<script lang="ts">
38
+ /* eslint svelte/experimental-require-strict-events: "error" */
41
39
interface $$Events {}
42
40
</script>
43
41
```
@@ -49,10 +47,9 @@ This rule enforces the presence of the `strictEvents` attribute on the main `<sc
49
47
<!-- eslint-skip-->
50
48
51
49
``` svelte
52
- <!-- eslint svelte/experimental-require-strict-events: "error" -->
53
-
54
50
<!-- ✗ BAD -->
55
51
<script lang="ts">
52
+ /* eslint svelte/experimental-require-strict-events: "error" */
56
53
</script>
57
54
```
58
55
You can’t perform that action at this time.
0 commit comments