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

123
Vistas
How to setup jQuery within ESLint?

I have installed ESLint, but as you know, it cannot check jQuery syntax. So I have npm installed:

https://github.com/jquery/eslint-config-jquery/blob/master/readme.md

However, I cannot find ESLint's .eslintrc file in order to edit it. According to the readme file, I should be adding this code to it:

{
   "extends": "jquery"
}

How is this done?

about 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

according to latest update of ESLint, all you have to do is to add "jQuery" to your env and set it to True. { "env" : { "jquery": true }, }

about 4 years ago · Santiago Trujillo Denunciar

0

I cannot find ESLint's .eslintrc file in order to edit it.

You simply create your own .eslintrc in the root of your project, then you can add the following code to it:

{
   "extends": "jquery"
}

You can read more about ESLint configuration files here.

about 4 years ago · Santiago Trujillo Denunciar
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