-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Javascript Layer: Support eslint auto fixing #6546
Comments
How it's going? I think this is what i need to reach the nirvana. Normal support of modern es6/jsx |
@istinspring You can set it up yourself by adding the node script to your @syl20bnr Do you know how this would be implemented in the javascript layer and if you would accept a pull request? |
This would be amazing :) |
hi @mrapogee , what is |
https://gist.github.com/mrapogee/ae0674c6ba33025b1bd13e7d6561f76a ^-- I implemented it here. Haven't updated in a while so not sure if it's latest |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Maintaining a
.eslintrc
and.jsbeautify
obviously isn't ideal, and since eslint has fixing it would be wonderful to have that supported alongside js beautify.I already have it working via this gist I threw together
The node script is needed since eslint's cli only supports fixing the actual files, not buffers/text.
I understand eslint is flycheck's thing, but I don't think flycheck will be supporting this anytime soon. Let me know if you think this is possible, thanks!
The text was updated successfully, but these errors were encountered: