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

273
Visualizações
Conflict when i save my file(EsLint + Prittier formater)

I have that arrow function enter image description here

I have this error in my file. To fix this error, I can return it like this => {return ...}, or just put parentheses around what is inside the arrow function

When I do that the error disappears, but if I save the file it goes back to the way it is in the photo. Where do I remove this setting?

If I return like this => {return ...} or => ( ), I would like it to stay, not for it to remove the parentheses or change the arrow function with curly braces to parentheses

Obs: Put // eslint-disable-next-line no-confusing-arrow is not an option

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You might try replacing your ? conditionals with ||

ESLint `no-confusing-arrow` "--fix" formatting conflict on save, with Prettier?

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