Closed ThomasLamb closed 4 years ago
Resolves #4
Added the --since HEAD lerna filter to husky pre-commit on the root project.
--since HEAD
husky
pre-commit
Files changed:
package.json
precommit
README.md
For me --since HEAD is an adequate solution to #4, and so have tagged this with Resolves #4 but I'm open to changing that. Like maybe I should add something to the README.md mentioning @jogold other precommit.js option https://github.com/sudo-suhas/lint-staged-multi-pkg/issues/4#issuecomment-482492913???
precommit.js
Thanks for providing this sample repository, it's been very helpful! ❤️
The readme changes are good but we could mention that the option does not considers staged files. It will run if there are any files modified.
Thanks @ThomasLamb!
Resolves #4
Added the
--since HEAD
lerna filter tohusky
pre-commit
on the root project.Files changed:
package.json
--since HEAD
Lerna filter option to limitprecommit
execution to only those packages with changed filesREADME.md
--since HEAD
addition, and explained why that option is used with link to issue #4For me
--since HEAD
is an adequate solution to #4, and so have tagged this withResolves #4
but I'm open to changing that. Like maybe I should add something to theREADME.md
mentioning @jogold otherprecommit.js
option https://github.com/sudo-suhas/lint-staged-multi-pkg/issues/4#issuecomment-482492913???Thanks for providing this sample repository, it's been very helpful! ❤️