Skip to content
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

no-nodejs-modules error should include name of imported module #453

Closed
ljharb opened this issue Jul 24, 2016 · 3 comments · Fixed by #461
Closed

no-nodejs-modules error should include name of imported module #453

ljharb opened this issue Jul 24, 2016 · 3 comments · Fixed by #461

Comments

@ljharb
Copy link
Member

ljharb commented Jul 24, 2016

When no-nodejs-modules errors out, it would be nice if the error message included the name of the builtin module being imported/required.

@jfmengels
Copy link
Collaborator

Sounds good to me.

Do not import Node.js builtin modules --> Do not import Node.js builtin module "path"?

@ljharb
Copy link
Member Author

ljharb commented Jul 27, 2016

🎉

@benmosher
Copy link
Member

published with 1.13.0 to npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment