Skip to content

Revert "feat: add node-builtin-specifier rule (#1306)" - #1532

Merged
bartlomieju merged 1 commit into
mainfrom
revert-node-builtin-specifier
Jun 30, 2026
Merged

Revert "feat: add node-builtin-specifier rule (#1306)"#1532
bartlomieju merged 1 commit into
mainfrom
revert-node-builtin-specifier

Conversation

@bartlomieju

@bartlomieju bartlomieju commented Jun 29, 2026

Copy link
Copy Markdown
Member

This reverts the node-builtin-specifier rule (#1306).

The rule hardcodes its own copy of the Node.js built-in module list,
which has to be kept in sync by hand and inevitably drifts from the set
of modules Deno actually supports. That canonical list already lives in
the Deno repo under ext/node (exposed as
DENO_SUPPORTED_BUILTIN_NODE_MODULES), so the rule is being moved there
and reimplemented on top of it. Keeping it in deno_lint would mean
maintaining a second, divergent source of truth.

The rule is reintroduced in denoland/deno as an extended CLI lint rule
that reuses the existing built-in module list: denoland/deno#35628.

@bartlomieju
bartlomieju merged commit ef3883d into main Jun 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant