-
Notifications
You must be signed in to change notification settings - Fork 27
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 Request] Add CLI option to check specific files #26
Labels
enhancement
New feature or request
Comments
I think 1) goes beyond the scope of this project. As for 2) feel free to contribute if you want the feature soon, we don't have much time to do that right now 😄 |
|
I find this option very useful as it can be used in husky and lint-staged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to run this as a pre-commit hook and only check staged files so I can
I think I could achieve 1) myself by creating a temporary tsconfig.json file with the staged files listed as
files
and feed that to the CLI, but it would be much better if the command could directly handle a list of files.Is that technically possible?
For 2), I would also appreciate exposing a new cli command which takes a list of files and throws an error if any of them are ignored
The text was updated successfully, but these errors were encountered: