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

.mdlrc ignored in sub-directories. Only works in current working directory. #420

Open
sjjctl opened this issue Jun 10, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@sjjctl
Copy link

sjjctl commented Jun 10, 2022

Description

I have a top-level .mdlrc and .mdl_style.rb.

I also have the same two files in my .github/ folder, which contains other *.md files, besides the README, etc.

The problem is when i run mdl .github/*.md it ignores the rules in the .github/ folder. It is only if I cd .github/ that I can get mdl to acknowledge those rules.

I think it should search recursively in each directory. Or at least have an option to do that.

Environment

mdl 0.11.0

@sjjctl sjjctl added the bug Something isn't working label Jun 10, 2022
ericherman added a commit to standard-for-public-code/standard-for-public-code that referenced this issue Dec 8, 2022
The `.md` files in `changelog/` are fragments, and do not have
start with an `<h1>` heading.

When markdownlint issue 420 is fixed and released, then we can
add these exclusions to just that directory.

See: markdownlint/markdownlint#420

Co-authored-by: Jan Ainali <jan@publiccode.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant