-
-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
sveltejs/svelte-eslint-parser
#262Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
What version of ESLint are you using?
8.30.0
What version of eslint-plugin-svelte are you using?
2.14.1
What did you do?
Configuration
n/a{foo(/**/)}What did you expect to happen?
no error, as this is valid javascript
What actually happened?
[2:21]: Parsing error: Unexpected token ;
Link to GitHub Repo with Minimal Reproducible Example
Additional comments
related: sveltejs/svelte#7456
however that issue is only for comments outside of the expression (ie. {foo() /**/}). comments inside the expression like {foo(/**/)} work correctly in the svelte compiler
DetachHead and KotlinIsland
Metadata
Metadata
Assignees
Labels
No labels