-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Expose -fix (and -config?) functionality via action #8
Comments
Invoking Have you tried that? |
How can I pass the |
That flag is set in |
As I said earlier, I Don't want to put a .markdownlint-cli2.jsonc in every repository. It's a bad idea. We have hundreds of repositories and can't update all of them because of this ( just for a single file ). In my opinion, the best option is to do the whole process through action, something like this : - uses: DavidAnson/markdownlint-cli2-action@v5
with:
fix: true
globs: |
*.md |
You edited your post to say that after I had already replied. |
That's for some minutes ago, not after your reply ... anyway, Sorry! |
Is there anything ti use
fix
option from markdownlint-cli2 ???I want then Action check & fix my codes in the same commit. Something like the one in Prettier Action
I don't want a simple
markdownlint-cli2 "**/*.md"
command. We needmarkdownlint-cli2-fix "**/*.md"
here ( Using CLI command, config option, etc )Note: I Don't want to put a
.markdownlint-cli2.jsonc
in every repository like this :The text was updated successfully, but these errors were encountered: