We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
node:
We should add a lint rule that warns when you're importing Node built-in modules without the node: specifier.
// This should error import * as fs from "fs" // This should not error import * as fs from "node:fs"
Preferable with an integration into deno lint --fix as well.
deno lint --fix
The text was updated successfully, but these errors were encountered:
The LSP already errors properly on this but it probably would be better as a lint rule
deno/cli/lsp/diagnostics.rs
Lines 1176 to 1197 in 9d6da10
Sorry, something went wrong.
require-node-prefix
Successfully merging a pull request may close this issue.
We should add a lint rule that warns when you're importing Node built-in modules without the
node:
specifier.Preferable with an integration into
deno lint --fix
as well.The text was updated successfully, but these errors were encountered: