question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Linter] Make `deno lint` work in VScode without deno server

See original GitHub issue

Is your feature request related to a problem? Please describe.

I wanted to use deno linter instead of eslint in VSCode for the project that is not deno-specific. I run deno lint on my project’s code and the issues it finds are very useful for me, but I hate fixing them from the console, and I would greatly appreciate to see them as… well… lint output in the VSCode. But it seems it does not work 😦 Is it possible to have this functionality in this extension?

My workspace config I tried to use:

{
    "deno.enable": false, // As I don't want to use deno. Deno will not handle imports (standard imports; dependencies defined in package.json)
    "deno.lint": true,
    "eslint.enable": false
}

After restarting VSCode I don’t see any linting messages in VSCode. It looks like deno.enable: false turns extension off.

And screenshot showing that indeed it’s not working: image

Describe the solution you’d like

I would love to use deno lint in the VSCode without enabling deno support. It should be possible, because deno lint works fine from the terminal. And I would love to see these warning/errors marks directly in the code

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mjgeracecommented, Oct 8, 2022

Any way I can help move this along?

0reactions
bartlomiejucommented, Feb 6, 2022

Thanks for opinions! That definitely sounds like a good idea.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Visual Studio Code | Manual - Deno
By enabling the Deno: Lint setting in the settings panel (or deno.lint if editing settings in JSON) the editor should start to display...
Read more >
Linting in VS Code not working when using ... - GitHub
I set up a simple deno project with only this file. But the linting is messed up. It looks like the default TypeScript...
Read more >
Deno - Visual Studio Marketplace
This extension adds support for using Deno with Visual Studio Code, powered by the Deno language server. ⚠️ Important: You need to have...
Read more >
TypeScript on the Server: Building Your First Deno.js Application
Deno is implemented in Rust and TypeScript (Node is implemented in C++ and JavaScript). Node has a package manager everyone knows, NPM, Deno...
Read more >
Deno 1.21 Release Notes
Deno 1.21 has improvements to testing facilities, the REPL, adds deno check, improves the language server, adds a new subprocess API, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found