publint icon indicating copy to clipboard operation
publint copied to clipboard

Support glob paths in CLI

Open bluwy opened this issue 2 years ago • 2 comments

Support npx publint ./packages/* to lint all directories at once, and only those that have a package.json.

~~Make sure this works with --deps too, which would create another dimension when linting. (N directories x N deps)~~

bluwy avatar Jan 23 '23 09:01 bluwy

In a monorepo setup, most package managers should have commands to run on all workspace packages, or certain packages matching dir/name etc. So I think it might not be as useful there.

For non-monorepo setups, maybe this will be more useful, but I'm unsure how much so and how common it is. Going to put this as a future enhancement for now.

bluwy avatar Feb 11 '25 07:02 bluwy

I think it's worth a documentation section on how to set this up in a monorepo for now.

bluwy avatar Apr 03 '25 01:04 bluwy