mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
feat: suggest adding a "node:" prefix for bare specifiers that look like built-in Node modules (#17519)
This commit is contained in:
parent
e1c51f3c0d
commit
f14ea3d4d4
10 changed files with 254 additions and 97 deletions
|
@ -1368,7 +1368,7 @@ impl Inner {
|
|||
_ => false,
|
||||
},
|
||||
"deno-lint" => matches!(&d.code, Some(_)),
|
||||
"deno" => diagnostics::DenoDiagnostic::is_fixable(&d.code),
|
||||
"deno" => diagnostics::DenoDiagnostic::is_fixable(d),
|
||||
_ => false,
|
||||
},
|
||||
None => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue