Replies: 4 comments
-
Monorepos are frequently used to increase consistency across projects. Also, lint is just an example. |
Beta Was this translation helpful? Give feedback.
-
|
Shouldn't this still require a folder filter or an array of package where you want to run To me, this sounds more like a specific user behaviour rather than turbo repo responsibility. |
Beta Was this translation helpful? Give feedback.
-
|
Maybe the turbo eslint plugin is a better home for it? Not sure though as this is kinda circular. In my monorepo lint is global so it'd work, but I bet others lint by package. Where would you put it? |
Beta Was this translation helpful? Give feedback.
-
|
@dmnd This sounds quite useful, though is Turborepo the place to do it? It feels a little bit like a "linting/pre-commit" hook type check? I might actually see if I can knock a script up later, as I'd value this in our project. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you'd like to request
I want to ensure that all packages in my monorepo implement a certain script.
Describe the solution you'd like
yarn turbo run lintis close, but it ignores packages that don't implement lint.yarn turbo run --ensure lintcould fail if a package doesn't implement lint.Describe alternatives you've considered
yarn workspaces run lintruns lint in all packages, and fails if a package doesn't implement lint. But it's so slow ;)Beta Was this translation helpful? Give feedback.
All reactions