We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
I was wondering why I have to add git add and eslint --fix to the npm scripts to use them with lint-staged.
git add
eslint --fix
For example my package.json has to be:
package.json
"scripts": { "git:add": "git add", "eslint:fix": "eslint --fix" }, "lint-staged": { "*.js": ["eslint:fix", "git:add"] }
and I think it could be:
"lint-staged": { "*.js": ["eslint --fix", "git add"] }
Is there any limitation, I am not aware of, so it can't be supported?
The text was updated successfully, but these errors were encountered:
Very good point, I was thinking about adding this into the future versions as well.
Sorry, something went wrong.
682a4b9
No branches or pull requests
Hey,
I was wondering why I have to add
git add
andeslint --fix
to the npm scripts to use them with lint-staged.For example my
package.json
has to be:and I think it could be:
Is there any limitation, I am not aware of, so it can't be supported?
The text was updated successfully, but these errors were encountered: