Has someone know how to use Prettier on Webstorm using the ESLint rules ?
You can use Fix ESLint problems action and quick-fix or, if you also have Prettier installed, use the Reformat code with Prettier action.
-
-
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 ?
-
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
- 2 more replies
New conversation -
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.