globalDependencies config at a Task level, or ability to reference the workspace root in inputs?
#9203
-
SummaryProblem:
Our lint task config is simply "lint": {}It appears that the current solution would be to add
Giving the eslint config as an example, but this option would be useful for various common types of tasks (like type-checking). Thanks!! Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
We generally recommend that linting and type checking be done on a per-package basis with per-package configurations, following the best practices of Workspaces. I'd be curious to know if you have constraints that don't allow you to do this. While I do see how the proposed options/features could be valuable when you're not working with best practices, there are footguns and drawbacks what's proposes, so we would need to draw a pretty clear conclusion that the benefits outweigh the cons. |
Beta Was this translation helpful? Give feedback.
We generally recommend that linting and type checking be done on a per-package basis with per-package configurations, following the best practices of Workspaces. I'd be curious to know if you have constraints that don't allow you to do this.
While I do see how the proposed options/features could be valuable when you're not working with best practices, there are footguns and drawbacks what's proposes, so we would need to draw a pretty clear conclusion that the benefits outweigh the cons.