We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5de936 commit 21d8742Copy full SHA for 21d8742
.mise/tasks/lint/markdown.sh
@@ -1,10 +1,10 @@
1
#!/usr/bin/env bash
2
#MISE description="Lint markdown files"
3
-#MISE flag "--fix" help="Automatically fix issues"
+#USAGE flag "--fix" help="Automatically fix issues"
4
5
set -e
6
7
-if [ "${usage_fix}" = "true" ]; then
+if [ "${usage_fix:-false}" = "true" ]; then
8
markdownlint-cli2 --fix "**/*.md"
9
else
10
markdownlint-cli2 "**/*.md"
0 commit comments