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

120
Views
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 answers
Answer question

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 Report

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 Report
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!