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

Init in root dir or not to #8

Open
BarbzYHOOL opened this issue Sep 27, 2018 · 2 comments
Open

Init in root dir or not to #8

BarbzYHOOL opened this issue Sep 27, 2018 · 2 comments

Comments

@BarbzYHOOL
Copy link
Contributor

I guess the answer is obvious but I wanted to ask:

should we mdlr init at the root or not necessarily?

What happens when we init in a subdir, and what happens if we have 2 different mdlr.yml in two different directories?

@svarlamov
Copy link
Member

Sorry for the late response on this! Basically, mdlr only supports in the root dir right now -- so you should run mdlr init in the root dir of the project, and maintain a single one there...

Open to exploring support for making mdlr recursive as that seems natural (similar to how .gitignores works etc.)

@BarbzYHOOL
Copy link
Contributor Author

Apparently the original submodule command also requires to be in root, but yeah, that would ease the use :P

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

No branches or pull requests

2 participants