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 3516b30 commit 4ed13eeCopy full SHA for 4ed13ee
.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" "#**/node_modules" "#CHANGELOG.md" "#ibm-mq-metrics/docs/metrics.md" "#.github/pull_request_template.md"
9
else
10
markdownlint-cli2 "**/*.md" "#**/build" "#**/node_modules" "#CHANGELOG.md" "#ibm-mq-metrics/docs/metrics.md" "#.github/pull_request_template.md"
0 commit comments