the previous version was actually bad because some linting failed on staged files for lack of context (aka wasn't looking at imports). Hopefully the ideas in the comments this makes it better and more useful
It's not possible unfortunately, but I think what you're recalling is that Hermit has a package for a tool that manages pre-commit hooks called lefthook.
the previous version was actually bad because some linting failed on staged files for lack of context (aka wasn't looking at imports). Hopefully the ideas in the comments this makes it better and more useful