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

596
Views
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 answers
Answer question

0

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

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