pre-commit:
parallel: true
commands:
eslint:
glob: "*.{js,jsx,ts,tsx}"
run: npx eslint --fix {staged_files}
stage_fixed: true
skip:
- merge
- rebase
pre-push:
glob: "*.{js,ts,jsx,tsx}"
run: npx eslint --fix {push_files}