Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

275
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda