Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

194
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda