-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Lint for package dependency should/shouldn't be a dev dependency #57176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
AFAIR @NweiZ has a different opinion on dependencies used for example in |
Warning against importing But a lint which suggests that a package could be in
There are legitimate reasons for a package to be a direct-dependency without being imported. Furthermore, it's generally rather harmless to drag along an unnecessary dependency, that should have been in
Hence, a better solution might be to add a bit in the
I'm not sure how a |
If a dependency is used in bin/lib it MUST be a non-dev dependency
If a dependency is not used in bin/lib it SHOULD be a dev dependency
The text was updated successfully, but these errors were encountered: