File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 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
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
You can’t perform that action at this time.
0 commit comments