-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot ignore svelte lint warnings in the script block #2354
Comments
|
Ah. Ignore my previous comment. The js comment does work. But the warning code got renamed a few weeks before so maybe you're referencing the old code? |
@jasonlyu123 This is still an issue - you can see the line here where it inserts an html comment. This should insert a JS comment if it's in the JS part of the code. |
I didn't say it wasn't. I was addressing the "adding the comment manually does not work either" part. |
Got it, it seems like that has been fixed since my original issue yes |
The quick fix is fixed in #2531, Release pending. |
Describe the bug
If you quick fix a lint warning in a script block, it inserts an HTML comment at the bottom instead of a JS comment in the right place.
Reproduction
Expected behaviour
Desired output:
Note also that adding the comment manually does not work either.
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: