chrisleee / twitch-stocks

A web platform that allows you to invest in Twitch streamers with imaginary points.
GNU General Public License v3.0
21 stars 8 forks source link

Remove Husky or replace pre-commit with it #68

Closed chrisleee closed 7 years ago

chrisleee commented 7 years ago

Husky gives us access to other hooks here.

We'd want to use Husky if we want any of those hooks. One situation I can think of is using pre-push when one file relies on another and they both get committed separately.

All the CI stuff like pushing the code to our host in prod could be probably just be handled by TravisCI.

Edit: Looks like Husky also has a neat way of debugging hooks. You just do a npm run <hook> where <hook> is something like precommit.

chrisleee commented 7 years ago

70 closes this