-
Notifications
You must be signed in to change notification settings - Fork 87
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
Overrides field #53
Comments
@cdfa, in case you are not aware, when using the VS Code extension, it will allow a config file in subdirectories as well as the root of the project. That can be used to customize settings for an entire subdirectory of files. Would that work for your purposes? |
Sadly not, I need a different configuration for .mdx files (specifically: disabling the forbidden html tag rule) |
Would it work to run the CLI in two separate passes? The first for *.md and the second for *.mdx (with slightly different settings)? |
Yes, I have a mdx only config and passing that using the |
To inherit rules, have you looked at |
Ah, that makes my case possible. I still think it would be convenient to not have to pass the specific config for every extension, but this works. Thank you! |
Cool. I’ll leave this open here for the future, but glad you’re unblocked now! |
I think it would be great to specify config overrides for certain files (like overrides in eslint and prettier). I don't think this should be implement in the
markdownlint
library, because it's easier to do this overriding manually when using the API, but it would be nice if the CLI would support it in some way.The text was updated successfully, but these errors were encountered: