Open
Description
Is your feature request related to a problem? Please describe.
There is a problem, that eslint/tslint does not help now with new top-level modules to check for dependencies.
Describe the solution you'd like
It would be great to have eslint and tslint plugins that ensure that all the dependencies used in modules/a
are declared in its dependencies | devDependencies | peerDependendencies | optionalDependencies except those that are transitively imported from other modules. For example if modules/a
declares modules/core
as a dependency, then dependencies from modules/core
should be treated as present in modules/a/package.json
.