sudo-suhas / lint-staged-multi-pkg

Example repo to demonstrate use of `lint-staged` with multi-pkg projects
MIT License
188 stars 19 forks source link

Add --exclude-dependents option to lerna run #29

Closed bertho-zero closed 4 years ago

sudo-suhas commented 4 years ago

@bertho-zero why are you suggesting to add this flag?

bertho-zero commented 4 years ago

Because lint-staged should only be called for modified packages. The dependent packages are not necessarily modified and will be ignored by lint-staged anyway.

This is just to avoid dealing unnecessary packages and save time.

sudo-suhas commented 4 years ago

Thank you @bertho-zero!