ajvincent / motherhen

Mozilla Public License 2.0
44 stars 2 forks source link

Restrict precommit hooks to cli, typescript-cli #31

Closed ajvincent closed 1 year ago

ajvincent commented 1 year ago

Production users of Motherhen won't be touching these files, and they may or may not have the dependencies installed to run ESLint or Jest.

ajvincent commented 1 year ago

https://www.npmjs.com/package/simple-git could help out with this.

ajvincent commented 1 year ago

Fixed with Github Actions: https://github.com/ajvincent/motherhen/blob/ac361404ab00302bd3e4ff7eeeac507fe159d144/.github/workflows/typescript-cli-checks.yml