eslint pattern code example
Example 1: how to run eslint on the whole project
# cd to your root project folder
eslint "./**" --fix
Example 2: running eslint
"lint": "eslint back/*.js && eslint backTest/*.js && eslint front/actions/*.js"
# cd to your root project folder
eslint "./**" --fix
"lint": "eslint back/*.js && eslint backTest/*.js && eslint front/actions/*.js"