-
Notifications
You must be signed in to change notification settings - Fork 341
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
Setup ESLint with Deno runtime instead of node #1907
Comments
The ESLint server can currently not been run under Deno. |
Okay. Thanks for the response. |
@dbaeumer Why doesn't passing EDIT: I see this:
EDIT: Wait is it actually execute code against the runtime? 😮 |
This looks more like a problem with the code the eslint server has to see whether it is running in a webpacked environment or a NodeJs commonjs one. See https://github.com/microsoft/vscode-eslint/blob/main/server/src/eslintServer.ts#L61 |
Hey, I am currently setting um ESLint for my Deno projekt. ESLint in the CLI works without a problem, but the VS-Code extension requires a
package.json
file in the root of my projekt because I am using ES6 import syntax inside myeslint.config.js
. The only content in mypackage.json
is this:package.json
I dont't use the
package.json
. I use thedeno.json
config file and I also have no commonjs in my project, everything is esm (standard).I don't want to use the
.mjs
extension, because it's outdated. Is there also a way to specify where ESLint looks up the node_modules folder? Since i don't use node there is no reason to have a node_modules folder except for ESLint (requires that to work)Here you can finde a simple ESLint example setup with Deno: github.com/DenoPlayground/eslint-example
Maybe someone can help me out.
Thanks 👍
The text was updated successfully, but these errors were encountered: