-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
False Alert for "fs" #412
Comments
Do you define fs as a dependecy in your package.json? |
“fs” is a core node module and shouldn’t be added in the package.json file |
yeah It is defined in my package.json. I am new at using node and typescript so I was not aware of this. Even if it should not be there, why is depcheck pointing it out as an unused dependency ? |
Because when you are doing |
We should maybe have a more explicit error message for the core modules... I'm closing this one Cheers |
fs node package false alert in my task. I am using fs in many lines for handling files but depcheck marks it as unused which is quite surprising.
The text was updated successfully, but these errors were encountered: