You can run anything. lint-staged compliments this package very well. Here's an example, github.com/nickytonline/generator-...
Only one gotcha. If you've already installed the husky package at least once, you will need to run yarn --force or npm install --no-cache. For some reason the post-install script of husky does not run, when the package is pulled from yarn's or npm's cache.
npm install --no-cache
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.