Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
How to highligt wrongly written code in visual studio code, when using nodejs?

Say I have this code in a file called myfile.js

const item1 = "A"

console.log(item1)

console.log(item2)

If i run the js file with node .\myfile.js , I first get the print of item1 ("A"), then it crashes, as it should, because item2 is not defined.

Before I used to get a red highlight that would warn me if a variable does not exist, in Visual studio code, but now for some reason it does not show me anymore.

What are the necessary steps I need to take to make it highlight wrongly written syntax again?

Googling this I mostly find that this can be solved by using the Esling extension, but for me it does not work. What can I do? I really want to keep using vs code.

I currently have no other extensions installed

my settings.json file looks like this

{
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "workbench.iconTheme": "material-icon-theme",
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!