We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6cc1b commit 01d9e60Copy full SHA for 01d9e60
.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" "#**/build" "#CHANGELOG.md" "#licenses/licenses.md"
9
else
10
markdownlint-cli2 "**/*.md" "#**/build" "#CHANGELOG.md" "#licenses/licenses.md"
0 commit comments