Skip to content
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

eslint-disable-line comment is removed inside arrow functions #104

Closed
openjck opened this issue Jun 26, 2020 · 1 comment
Closed

eslint-disable-line comment is removed inside arrow functions #104

openjck opened this issue Jun 26, 2020 · 1 comment

Comments

@openjck
Copy link

openjck commented Jun 26, 2020

When the following code is run through prettier-plugin-svelte, the // eslint-disable-line comment is removed:

<button on:click={() => {
   acc = acc - 10; // eslint-disable-line
}}>click</button>
@ehrencrona
Copy link
Contributor

This is a duplicate of #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants