You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my component, I have a code comment with 2 empty spaces at the end if the first line: ...blends in with paragraph in order to support line-breaks when hovering the component and viewing its description.
<!-- @component InlineButton - A button that blends in with paragraph styles, but is interactive.-->
<button>
<slot />
</button>
What did you expect to happen?
I would hope ESLint would be ok with it, given my config. No errors appear in my .js files.
Before You File a Bug Report Please Confirm You Have Done The Following...
What version of ESLint are you using?
8.17.0
What version of
eslint-plugin-svelte
are you using?2.6.0
What did you do?
Configuration
In my component, I have a code comment with 2 empty spaces at the end if the first line:
...blends in with paragraph
in order to support line-breaks when hovering the component and viewing its description.What did you expect to happen?
I would hope ESLint would be ok with it, given my config. No errors appear in my
.js
files.What actually happened?
Trailing spaces not allowed. eslint(no-trailing-spaces)
Link to Minimal Reproducible Example
https://ota-meshi.github.io/eslint-plugin-svelte/playground/#shortenedhash
In the playground, the
no-trailing-spaces
rule only has "on" or "off" functionality, without me able to include the"ignoreComments": true
config.Additional comments
I've had good success with this linting tool while programming in Svelte. Thank you for maintaining!
The text was updated successfully, but these errors were encountered: