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

--config flag is broken #173

Closed
irmiller22 opened this issue Mar 2, 2021 · 7 comments
Closed

--config flag is broken #173

irmiller22 opened this issue Mar 2, 2021 · 7 comments
Labels

Comments

@irmiller22
Copy link

irmiller22 commented Mar 2, 2021

Hi! It seems like the latest release broke the way the --config flag is handled?

I use the --config flag in my CI/CD workflow for markdown linting, and as of a few hours ago it's no longer respecting the configuration that I've set up.

UPDATE:

Adding additional context with an example:

# .github/markdownlint.yaml

MD007:
  indent: 4
MD013: false
MD040: false
MD046: false
markdownlint -c .github/markdownlint.yaml .

The settings specified in .github/markdownlint.yaml were being respected until a few hours ago, which I imagine coincides with the 0.27.0 release.

@DavidAnson
Copy link
Collaborator

See also DavidAnson/markdownlint#373

I'll have a look tonight.

@DavidAnson
Copy link
Collaborator

Can you please give an example that does not work? All the tests are passing, so it should not be completely broken?

@irmiller22
Copy link
Author

Sure, I'll also add it to the initial comment:

# .github/markdownlint.yaml

MD007:
  indent: 4
MD013: false
MD040: false
MD046: false
markdownlint -c .github/markdownlint.yaml .

The settings specified in .github/markdownlint.yaml were being respected until a few hours ago, which I imagine coincides with the 0.27.0 release.

@DavidAnson
Copy link
Collaborator

Thanks, I can reproduce this. Looking now...

@DavidAnson
Copy link
Collaborator

I should have a fix shortly.

@DavidAnson
Copy link
Collaborator

Please try `v0.27.1', thanks, and sorry for the trouble!

@irmiller22
Copy link
Author

@DavidAnson no worries, thank you for the fix!

@DavidAnson DavidAnson added the bug label Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants