sindresorhus / eslint-plugin-unicorn

More than 100 powerful ESLint rules
MIT License
3.98k stars 361 forks source link

Bun modules still incorrectly flagged as requiring the `node:` prefix when running ESLint on Bun #2383

Closed SunsetTechuila closed 2 weeks ago

SunsetTechuila commented 2 weeks ago

everything is the same as it was described in #2226, but happens only when ESLint is run on Bun: bun --bun eslint .

happens because bun adds its own modules to the node's builtinModules, which is used by the builtin-modules v3 package, which is used by the is-builtin-module v3 package, which is used by this plugin