Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

125
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda