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

219
Views
Is there a severity ranking for ESLint errors?

I am currently analyzing different code packages. I am using ESLint to check the code quality.

After analyzing I get an object with ESLint errors and how often they appeared.

"no-multi-assign": 1,
"no-var": 47,
...
"comma-dangle": 133,
"no-shadow": 136,

Now I have lots of errors, but can't really rate how severe the errors are. The single no-multi-assign error is certainly more severe than 133 comma-dangle errors.

Now the question is, if there is some kind of ranking that gives each ESLint error a severity ranking? Maybe somebody has an idea how to rank these errors.

Here is a list with all ESLint rules

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

ESLint rules have 0 ("off"), 1 ("warn"), or 2("error"), which roughly translates to how 'severe' the rule is.

You can find people publishing their own eslintrc.json which you can use as a 'ranking'. An example is standard/eslint-config-standard

But there won't be any meaningful ranking like no-console is more severe than no-empty but less severe than no-labels, since that's really subjective.

about 4 years ago · Juan Pablo Isaza 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!