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
Make ignores and files to include part of the configuration #45
Comments
Your understanding is correct: |
This would be a nice to have. There are some other proposals that are similar in #46 but those require adding additional files to our repos which I'd rather not do, we already have a huge number of dot files in the root for different tools and adding another would just further pollute it. |
@DavidAnson Has there been any thought on how some of these thing might be done? I have a need to pass a list of plugins to markdownlint and I currently use the cli to run it. We use a plugin for tables that support different syntax, so without passing the plugin we can't actually use linting for the tables. If there is an acceptable approach, I could code some or all of the next step. |
I’m part-way through a side project experiment that may help with this scenario. I should be in a position to share something rough in a week or so. |
@borekb @jwalker343: I've just published version It's a slightly different take on a CLI, please see the README for context. Relevant to this thread, it supports a unique @JimPatterson: If you try this out, please let me know how it goes - thanks! |
Thanks for the info. Note that a single, root-level ignore file can be a maintenance pain point in larger repos, see e.g. these feature requests for Prettier and ESLint:
But any improvements in this area are welcome (though I won't be able to test the new behavior soon, sorry). |
@JimPatterson, plugins are supported in the latest version and can vary by directory. If you try this out, please let me know how it goes! |
The config file (
.markdownlint.json
), if I understand it correctly, is theoptions.config
object. In the API,options
have other keys likefiles
orcustomRules
.Would it be possible to use this in
.markdownlint.json
as well? Especially, I'd use it to denote certain directories as ignored. This is probably not supported by the underlying API at this point but I imagine something like this:The text was updated successfully, but these errors were encountered: