How can I use ESLint to refactor/restyle code in webstorm.

I added an ESLint file to my project and now I have like 1,000 "warnings" and red lines in my code. Is there a way to configure webstorm to use ESLint file to refactor my code using that lint file?


No, ESLint inspection doesn't have auto-fixes:( You need to fix all errors/warning in your code manually and adjust Code Style settings accordingly to make the formatting conform to ESLint rules



Since eslint and jscss are united now it supports autofix, however webstorm is still ignoring it using reformat code.

Will this feature will be available? at least import code style from eslint to websorm?


Please sign in to leave a comment.