adblock-resources
adblock-resources copied to clipboard
Add `npm run verify` as a git commit hook
Just to ensure that we never wind up with bad json here, and potentially breaking the DAT, WDYT of adding npm run verify
as a commit hook?
@antonok-edm ^^^
I was hoping it could be added as a CI step eventually. I guess a hook would work too, but as far as I'm aware hooks can only be added manually on the client side.
As of #4, this is becoming increasingly necessary.
Is anyone working on this?
What do you have in mind, a manual set up at post-install
and .git/hooks
or something like husky?
@myreli nobody's working on it at the moment, although we are happy to accept PRs :smile:.
Leveraging npm install
in some way to setup a git hook sounds like an excellent idea!
@antonok-edm cool! I will start working on it them :grin: