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

Feature: support checking only the "files changed" or "lines changed" #5

Open
Raynos opened this issue Aug 20, 2016 · 0 comments
Open

Comments

@Raynos
Copy link
Owner

Raynos commented Aug 20, 2016

We should add a mode where we can pass a series of files to check.

This would allow us to check only files changed in git. This can be done with jsig $(git ...). But less just add a jsig git-files HEAD..master sub command.

Would also be nice to have a secondary mode that checks only lines changed. This is best done by running the checker on the entire file but filtering the errors by the line numbers based on changed files. This can only be done by a sub command like jsig git-lines HEAD..master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant