feat: add warning-aware import diagnostics - #1480
Conversation
Demote import prefix and unversioned import findings to warnings so workspace import maps are easier to adopt. Make their autofixes update deno.json(c) only when the lockfile can supply a concrete version. Assisted-by: openai/gpt-5.4 on opencode Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
|
Verdict: WIP (draft) — needs a rebase onto the merged severity work before it can land. Not merging. Confined mostly to new rules + Biggest item: the severity plumbing is now duplicated/superseded The genuinely new, valuable part: the two import rules
To finish (draft)
Perf: nothing concerning in the rule paths (per-import checks). Foundation is reasonable; the work now is mostly reconciling with the severity infrastructure that landed after this was opened. |
Summary
deno_lintdiagnostics and example reportingno-import-prefixandno-unversioned-importwarnings with lockfile-awaredeno.json(c)autofixesRelated: denoland/deno#30681