eslint --fix
incorrectly changes the wrong line on each block with comment on separate line
#327
Closed
2 tasks done
Before You File a Bug Report Please Confirm You Have Done The Following...
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
What did you expect to happen?
space added on line 2 after the
//
What actually happened?
space added on line 1 after the
{#
, causing a syntax error:Link to GitHub Repo with Minimal Reproducible Example
https://github.com/DetachHead/eslint-plugin-svelte-issue/tree/d15d9f053c334ee05eb5b4c5ea161e879cbbf523
also same issue but different rule: https://ota-meshi.github.io/eslint-plugin-svelte/playground/#eJyrVkrOT0lVslKqVk5NTM5QSNOIydPXTyxOSYvJS9FUSCxWyK61cQZy9e2q9UEqapVqAbyyES0=
Additional comments
No response
The text was updated successfully, but these errors were encountered: