eslint fix command code example
Example 1: eslint fix
npm run lint -- --fix
Example 2: how to run eslint on the whole project
# cd to your root project folder
eslint "./**" --fix
Example 3: tslint fix
tslint --fix -c ./config/tslint.json 'src/**/*{.ts,.tsx}'
Example 4: npx eslint src
yarn lint-fix
Example 5: running eslint
"lint": "eslint back/*.js && eslint backTest/*.js && eslint front/actions/*.js"