-
Notifications
You must be signed in to change notification settings - Fork 334
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
Auto fix made double comma to fix trailing comma #871
Comments
@charlie0228 can you please provide me with a GitHub repository I can clone that demos what you are experiencing. Problems like this usually depend on various factors like used versions, plugins, ... |
@dbaeumer |
Here is the list of vscode extension I installed.
|
@charlie0228 thanks for the additional steps. I can reproduce it. It does not happen with |
same issue! |
@dbaeumer When I try to fix empty function like below:
It will turn:
Here is the project https://github.com/charlie0228/vscode-eslint-issue |
Same issue. I had to go back to version 2.0.11 |
@thedv91 it is fixed in 2.0.15. If you still can reproduce it can you please provide me with a GitHub repository that I can clone that demos it. |
When I use Eslint v2.0.13 or v2.0.12 to fix
.vue
,.ts
or.js
files, it always adds double comma when fix trailing comma.Here are my setting files:
settings.json
.eslintrc.js
package.json
If there needs more information, please let me know, thanks!
The text was updated successfully, but these errors were encountered: