Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove jiti once eslint can make use of Bun #1194

Open
3 tasks done
chrisbbreuer opened this issue Dec 15, 2024 · 1 comment
Open
3 tasks done

Remove jiti once eslint can make use of Bun #1194

chrisbbreuer opened this issue Dec 15, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@chrisbbreuer
Copy link
Member

Clear and concise description of the problem

Somehow we cannot make use of Bun's native TS loading

Suggested solution

Remove jiti once eslint can make use of Bun

Alternative

No response

Additional context

No response

Validations

@chrisbbreuer chrisbbreuer added the enhancement New feature or request label Dec 15, 2024
@chrisbbreuer
Copy link
Member Author

chrisbbreuer commented Dec 15, 2024

Seems to be relating: microsoft/vscode-languageserver-node#1321

(the reason we have to install Jiti 2 atm is because our deps already install 1.x, and that throws an issue somewhere in ESLint, even though there is an isBunRuntime check which also oddly returns undefined)

Logically, I would think the fix would be eslint.runtime to be set to bun in vscode settings, but that bricks the whole linter

@chrisbbreuer chrisbbreuer added the bug Something isn't working label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant