Skip to content

fix(no-missing-import): Ignore node builtins in package.json imports#346

Merged
aladdin-add merged 1 commit intoeslint-community:masterfrom
scagood:issue-285
Oct 9, 2024
Merged

fix(no-missing-import): Ignore node builtins in package.json imports#346
aladdin-add merged 1 commit intoeslint-community:masterfrom
scagood:issue-285

Conversation

@scagood
Copy link
Copy Markdown

@scagood scagood commented Sep 25, 2024

This covers over enhanced-resolve's behaviour of throwing unresolved modules, as it cannot resolve builtin node modules.

This is done by adding a load of aliases that are effectivly: { name: moduleName, alias: false } meaning that enhanced resolve does not throw.

@scagood scagood linked an issue Sep 25, 2024 that may be closed by this pull request
1 task
@scagood scagood requested review from a team and aladdin-add September 25, 2024 21:19
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.

Bug: package.json import results in no-missing-import

2 participants