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

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

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