Open AlbertMarashi opened 1 month ago
This feels like a https://github.com/sveltejs/eslint-plugin-svelte issue or a https://github.com/sveltejs/svelte-eslint-parser issue considering that svelte parse this correctly (i can't move it there unfortunately)
Describe the bug
There's a weird eslint bug with parsing snippets that contain
() => void
, even if it is commented out.Reproduction
Parsing error: '}' expected.eslint
Parsing error: '=>' expected.eslint
Logs
No response
System Info
Severity
blocking upgrade