The --fix option on the command line automatically fixes problems reported by this rule. code example
Example: how to run eslint on the whole project
# cd to your root project folder
eslint "./**" --fix
# cd to your root project folder
eslint "./**" --fix