Rock-n-Prog / web-ts-monorepo-starter-pack

Feature-heavy monorepo boilerplate for web and mobile apps
https://rock-n-prog.github.io/web-ts-monorepo-starter-pack/
MIT License
7 stars 2 forks source link

Find a way to set lint-staged for all workspaces in a single command #20

Open fabien-roy opened 1 year ago

fabien-roy commented 1 year ago

UPDATE: lint-staged is focken flaky. Let's rework this somehow.

lint-staged in root's package.json is ugly and hard to maintain. It should be improved.

Il should use pnpm --filter {workspace} lint:fix or something.

fabien-roy commented 1 year ago

It should be possible: https://medium.com/@anshul.kashyap03/set-up-git-hooks-with-husky-and-lint-staged-angular-example-a4d46e440ba5

fabien-roy commented 1 year ago

Would also solve #100