-
Notifications
You must be signed in to change notification settings - Fork 38
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
Use ignore for better control over globbing #25
Conversation
Great! I have tried with the following config:
Even though it looks impossible, we should put some warning or error about the same value in both. We can make it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. There are some subtle corner-cases that I don't know how to handle, like what to do if a file is being explicitly passed. But we'll figure those out through actual usage.
Noted. I'll make my concern in separate PR and we'll go from there. |
Move all config related code into a config package. Signed-off-by: Brian McGee <[email protected]> Reviewed-on: https://git.numtide.com/numtide/treefmt/pulls/25 Reviewed-by: Jonas Chevalier <[email protected]> Co-authored-by: Brian McGee <[email protected]> Co-committed-by: Brian McGee <[email protected]>
resolves #13: Includes and excludes
resolves #24: Follows .gitgnore directives