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

Fix current file with ESLint on save #160

Closed
dobesv opened this issue May 31, 2018 · 7 comments
Closed

Fix current file with ESLint on save #160

dobesv opened this issue May 31, 2018 · 7 comments

Comments

@dobesv
Copy link

dobesv commented May 31, 2018

WebStorm has some built-in action "Fix current file with ESLint", it would be great to run this action on save.

https://blog.jetbrains.com/webstorm/2016/08/using-external-tools/

@dubreuia
Copy link
Owner

dubreuia commented Jun 1, 2018

Same as #159.

@dubreuia
Copy link
Owner

dubreuia commented Jun 1, 2018

Duplicates #118

@blowsie
Copy link

blowsie commented Dec 7, 2018

@dobesv fyi im doing this using a watcher, but its much better suited to a save action.

@slavco86
Copy link

@blowsie
Could you share how have you set up file watcher to use ESLint, please?

@SimenB
Copy link

SimenB commented Feb 28, 2020

It's coming natively. Current EAP already supports prettier on save, eslint is coming.

https://blog.jetbrains.com/webstorm/2019/12/webstorm-2020-1-roadmap/

We also plan to streamline the process of working with Prettier and ESLint by adding options to run them on save and to set Prettier as the default formatter.

@blowsie
Copy link

blowsie commented Feb 28, 2020

@slavco86
image

@slavco86
Copy link

Massive! Thank @blowsie

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

No branches or pull requests

5 participants