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

597
Vistas
lint-stage cannot see the files

I've got projecct structure like below:

project
- .husky
- src
-- all files
- package.json

here is me lint-staged from package.json

  "lint-staged": "^12.1.7",
  .
  .
  .
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "npm run prettier",
      "npm run lint:fix"
    ]
  },

can someone tell me what have i'm wrong with yarn lint-staged that after launch this command he always return me this:

→ No staged files match any configured task.

Thanks for any help!

PS. I'm running this command from pre-push husky script

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Did you run git add . before running yarn lint-staged?

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