eslint --fix option code example Example: how to run eslint on the whole project # cd to your root project folder eslint "./**" --fix