When installing hooks, add a package.json with type: 'commonjs' to …/.git/hooks/ to force the hooks to run as CommonJS, not modules, regardless of the type set in the outer package.json.
Hey there @brady-ds. Thanks for putting the effort! 🙏
It's been a while since I've done any maintenance in this repository. I'll do some clean up/bump up versions before bringing in/reviewing your changes. 👍
When installing hooks, add a
package.json
withtype: 'commonjs'
to…/.git/hooks/
to force the hooks to run as CommonJS, not modules, regardless of thetype
set in the outerpackage.json
.Fixes #394.