Prettier followed by "eslint --fix" functionality
Since Prettier was introduced in Webstorm, I was looking for a functionality to run "eslint --fix" after prettier code reformat. Unfortunately, I cannot find a well functioning solution for this. If I setup prettier together with "eslint --fix" in ESLint configuration page, then "eslint --fix" runs before prettier and what I need is opposite. Is there any plans to add "Run eslint --fix after" functionality to Prettier configuration?
Please sign in to leave a comment.
No plans
But fixing https://youtrack.jetbrains.com/issue/WEB-48082 should probably take care of this: when it's fixed, enabling both Settings | Languages & Frameworks | JavaScript | Code Quality Tools | ESLint, Run eslint --fix on save and Settings | Languages & Frameworks | JavaScript | Prettier, On Save will trigger ESLint after re-formatting the file