"Unexpected token" error when interpolating a template string that contains <script>
tags
#563
Open
2 tasks done
Labels
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
8.47.0
What version of
eslint-plugin-svelte
are you using?2.32.4
What did you do?
Configuration
What did you expect to happen?
no error
What actually happened?
[1:18]: Parsing error: Unexpected token {
Link to GitHub Repo with Minimal Reproducible Example
https://sveltejs.github.io/eslint-plugin-svelte/playground/#eJyrVkrOT0lVslKqdsgoyc1RSLApTi7KLCixU6lWT87PK87PSdXLyU/XiFEqSS0uiVHSVK+10YcqSahVqgUAz2EWSg==
Additional comments
The component compiles without error in the svelte playground and produces the expected console.log when run locally (though not in the playground for some reason).
The text was updated successfully, but these errors were encountered: