lefthook.yml 283 B

1234567891011121314
  1. pre-commit:
  2. parallel: true
  3. commands:
  4. lint:
  5. glob: "*.{js,ts,jsx,tsx}"
  6. run: npx eslint {staged_files}
  7. types:
  8. glob: "*.{js,ts, jsx, tsx}"
  9. run: npx tsc --noEmit
  10. commit-msg:
  11. parallel: true
  12. commands:
  13. commitlint:
  14. run: npx commitlint --edit