-
Notifications
You must be signed in to change notification settings - Fork 59
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
Bug: lint-staged
script missing for husky pre-commit-hook
#99
Comments
@adithyaakrishna Can you suggest what should be the expected behaviour ? |
We would need to add a The script would be something like this, but not the exact one as we need to make changes according to this repo "lint-staged": {
"*.ts*": "eslint --ignore-path .gitignore --cache --fix"
} |
@adithyaakrishna I was looking into this https://github.com/okonet/lint-staged#Configuration for reference. |
Yes, that would be a good starting point :) |
@adithyaakrishna We were getting the error as |
@adithyaakrishna sir can you please check this? |
@Lucif3r-in You can remove the cspell check for the project AFAIK. We need the |
Could you please check out the status of this issue? |
I'll fix it and send a PR :) |
Any progress for this issue? |
Describe the bug.
The pre-commit hook for husky is missing a script to lint staged files for git commit workflow
Describe the steps to reproduce the behavior.
Expected behavior.
Add a
lint-staged
script to handle and fix the errorScreenshots.
Operating Environment
Windows/macOS/Linux
Additional Information
Credits to @Lucif3r-in at #76 (comment) for noticing this bug :)
The text was updated successfully, but these errors were encountered: