Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

112
Views
Ejecutar `lint-staged` toma mucho tiempo incluso para un solo archivo modificado

Ejecutar npm run pre-commit lleva mucho tiempo, incluso si solo se ha cambiado un archivo.

Script de package.json: "pre-commit": "lint-staged",

y comandos en etapa de pelusa:

 "lint-staged": { "src/**/*.{ts,js,json}": [ "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" ], "src/**/*.{js,ts,json}": [ "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"" ] },

Parece que eslint se ejecuta en todo el proyecto. ¿Cómo puedo hacer que se ejecute solo en los archivos modificados?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!