Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No staged files found #1410

Open
eliawk opened this issue May 7, 2024 · 0 comments
Open

No staged files found #1410

eliawk opened this issue May 7, 2024 · 0 comments

Comments

@eliawk
Copy link

eliawk commented May 7, 2024

Description

Lint stage doesn't find any staged files.
This is what I have as staged:
Schermata 2024-05-07 alle 15 47 28

and this is what lint-staged says:
Schermata 2024-05-07 alle 15 48 05

My package.json

  "lint-staged": {
    "*.{js,jsx,ts,tsx,md,html}": [
      "yarn format:repo",
      "yarn lint:repo"
    ],
    "**/*.css": "yarn prettier --write"
  }

and my husky-precommit

yarn lint-staged
yarn typecheck

Environment

  • OS: macOs Monterey
  • Node.js: 18-19.1
  • lint-staged: 15.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant