How to set up ESlint phpstorm

This article will show you how to configure your phpstorm ide to use eslint.

Open Settings -> Languages & Frameworks -> Javascript -> Code Quality Tools -> ESlint;

Set Automatic ESLint configuration and Run eslint --fix on save;

Please make sure that you have already installed node js on your machine. You can go ahead and install nodejs on your device.