You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect perfectionist/sort-imports uses module.builtinModules or module.isBuiltin. On Node.js, bun is treated as an external module, but on Bun (--bunx enforces code to be run on Bun even with a #!/usr/bin/env node shebang) bun is a built-in module.
Describe the bug
That script is valid when using
bunx eslint .
but get error when force to use Bun's runtimebunx --bun eslint .
This becomes inconsistent between vscode auto format and cli command.
References:
Reproduction
https://github.com/azizramdan/eslint-config-bun
System Info
Used Package Manager
bun
Validations
Contributions
The text was updated successfully, but these errors were encountered: