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

191
Vistas
Eslint rule to always put functions at the end?

Is there any way to configure eslint (ideally with --fix) to always put functions at the end?

// Before/incorrect
function f() {
  return 5
}
const x = f()
function g() {
  function h() { return 6 }
  return h()
}
const y = g()

// After/correct
const x = f()
const y = g()
function f() { return 5 }
function g() {
  return h()
  function h() { return 6 }
}

See also: https://github.com/eslint/eslint/discussions/15633

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