4 ms·
There's also the 'lint-staged' NPM package if you want to do pretty much anything only on staged files.
by onion2k 5y ago
There's also the 'lint-staged' NPM package if you want to do pretty much anything only on staged files.
- morelisp 5y agoI can't remember if this package specifically was one of the ones we tried (it was 3-4 different packages in the JS ecosystem), but anything that pretends files and not changes are the units of staging will cause problems for advanced git workflows.