eslint autofix code example
Example 1: eslint fix
npm run lint -- --fix
Example 2: npx eslint fix
npx eslint 'file or directory
you can add --fix flag
Example 3: running eslint
"lint": "eslint back/*.js && eslint backTest/*.js && eslint front/actions/*.js"