Running ESLint in precommit does not stop on warnings code example
Example: Running ESLint in precommit does not stop on warnings
"husky": {
"hooks": {
"pre-commit": "npm run lint-fix && eslint \"**/*.js\" --fix --max-warnings=0 && git add -A ",
"pre-push": "npm run lint"
}
}