-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli2 is a better cli for markdownlint. It allows to have config files in different directories, and it's also from the same author as the original node.js markdownlint lib.
- Loading branch information
1 parent
f7766d2
commit 9bb3a94
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
---@type conform.FileFormatterConfig | ||
return { | ||
meta = { | ||
url = "https://github.com/DavidAnson/markdownlint-cli2", | ||
description = "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the markdownlint library", | ||
}, | ||
command = "markdownlint-cli2", | ||
args = { "--fix", "$FILENAME" }, | ||
exit_codes = { 0, 1 }, -- code 1 is returned when linting/formatter was successful and there were errors | ||
stdin = false, | ||
} |