If there is a module module-not-exist that's not installed in node_modules. Even if module-exist did add some dependencies. The lint won't apply dependencies in module-exist.
I think this rule can be more compatible. If packageContent have add some dependencies. These dependencies should be applied.
Like our team is maintaining a shared .eslintrc file and some dependencies is not required in particular projects. We hope that users don't need to change the .eslintrc file when they add a new dependency.
Scenario:
If there is a module
module-not-exist
that's not installed in node_modules. Even ifmodule-exist
did add some dependencies. The lint won't apply dependencies inmodule-exist
.I think this rule can be more compatible. If
packageContent
have add some dependencies. These dependencies should be applied.Like our team is maintaining a shared
.eslintrc
file and some dependencies is not required in particular projects. We hope that users don't need to change the.eslintrc
file when they add a new dependency.