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
How do I support verification on the server #1279
Comments
Hello, what do you mean by this? Lint-staged is designed to be used for running tasks on staged files, which typically means it's used as a commit linter. This doesn't really apply on server environment, and I guess you could just run linters on all files instead. However, we did recently add the Does this answer your question? |
@iiroj Performing lint on all files on the server will cause unnecessary operations. I hope to only verify whether the currently submitted files are correct on the server |
For this case the |
You can find a GitHub Actions example in this other issue: #1198 |
@iiroj I would like to ask if it is supported to be used in jenkins pipeline + pre commit |
I'm trying to use this Github Action:
However, I'm getting an error like this:
Any ideas why? |
@amusingaxl as a workaround, you can try passing |
How do I support verification on the server
The text was updated successfully, but these errors were encountered: