Closed AlbertMarashi closed 3 weeks 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)
Duplicate of #872 It has already been fixed.
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