You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to run this as a pre-commit hook and only check staged files so I can
Make sure no regressions are checked in
Check that new files aren't checked in with the ignore comment.
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:
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'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: