Skip to content

Commit 01d9e60

Browse files
authored
Improve markdown lint check (#15514)
1 parent ad6cc1b commit 01d9e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.mise/tasks/lint/markdown.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env bash
22
#MISE description="Lint markdown files"
3-
#MISE flag "--fix" help="Automatically fix issues"
3+
#USAGE flag "--fix" help="Automatically fix issues"
44

55
set -e
66

7-
if [ "${usage_fix}" = "true" ]; then
7+
if [ "${usage_fix:-false}" = "true" ]; then
88
markdownlint-cli2 --fix "**/*.md" "#**/build" "#CHANGELOG.md" "#licenses/licenses.md"
99
else
1010
markdownlint-cli2 "**/*.md" "#**/build" "#CHANGELOG.md" "#licenses/licenses.md"

0 commit comments

Comments
 (0)