Has someone know how to use Prettier on Webstorm using the ESLint rules ?
-
Show this thread
-
1 reply 0 retweets 1 likeShow this thread
-
Replying to @mauriciord
You can use Fix ESLint problems action and quick-fix or, if you also have Prettier installed, use the Reformat code with Prettier action.
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
I'm using File Watchers when save a file, execute Prettier Format, but i want to when i save a file, it formats a file using the ESlint fixes, like my VSCode does, using `prettier.eslintIntegration`. Is there something like this ?
1 reply 0 retweets 0 likes -
Replying to @mauriciord
You can configure a File Watcher that runs prettier-eslint instead of prettier. For that, please install prettier-eslint and prettier-eslint-cli and then simply update the program path in the watcher.pic.twitter.com/b8gyPZil9h
1 reply 0 retweets 1 like -
Replying to @WebStormIDE
Thank you, nice tip. It was the only block for me to using Webstorm, in the time.
1 reply 0 retweets 0 likes
Glad it helped! Please let us know if you have any other questions. :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.