-
Notifications
You must be signed in to change notification settings - Fork 227
feat(config): look up from .config subdir by default, too #933
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
base: master
Are you sure you want to change the base?
Conversation
To help unclutter project top level dirs, https://github.com/pi0/config-dir
Hey! This sounds good! Could you also add the paths to I don't think moving scripts to Regarding the paths I think it's better consider lefthook as being run from git project root always, for simplicity. So moving a file from repo root to |
Hey @scop! Do you want to continue on this PR? If not, can I apply the fixes myself and merge it? |
Hello @mrexox, I'm following up on this pull request. It would be excellent for us if the configuration could also be placed in a subdirectory of Additionally, would a If there's a need for contributions to the pull request, I’d be happy to volunteer. |
Hey @ThomasSanson! This PR adds support for |
Thanks for considering. I can try to find time sometime to work on this, but I don't know when that might be, so it's very much appreciated if you @mrexox can chime in with the implementation here. Just one remark to @ThomasSanson's message
No objections here if someone wants to add that, but the whole point of my request is to have |
Hello @scop, Apologies for the additional comments I made on this pull request. I intended to benefit from the ongoing work without being too intrusive. I'll wait for this PR to be merged and then submit a separate one for my specific needs. 😇 |
No problem, I just wanted to clarify my own intent with this, as I did not make it that clear in writing here but just pointed to external resources. |
Closes # (issue)
⚡ Summary
Look up configs from
.config
subdirs too, to help unclutter project top level dirs, https://github.com/pi0/config-dir (and other similar proposals)pi0/config-dir support discussion item: pi0/config-dir#6 (comment)
This is a draft for discussion purposes, to be still done at least
.config/lefthook
and.config/lefthook-local
source dirs should work out of the box, too.config
, or relative to that dir (I think I'd propose the former)uninstall
☑️ Checklist