File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 44
55set -e
66
7+ ignores=(" #**/build" " #**/node_modules" " #CHANGELOG.md" " #ibm-mq-metrics/docs/metrics.md" " #.github/pull_request_template.md" )
8+
79if [ " ${usage_fix} " = " true" ]; then
8- opt_fix=" --fix"
10+ markdownlint-cli2 --fix " **/*.md" " ${ignores[@]} "
11+ else
12+ markdownlint-cli2 " **/*.md" " ${ignores[@]} "
913fi
10-
11- markdownlint-cli2 ${opt_fix} " **/*.md" " #**/build" " #**/node_modules" " #CHANGELOG.md" " #ibm-mq-metrics/docs/metrics.md" " #.github/pull_request_template.md"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ idiomatic_version_file_enable_tools = []
1010# Based on: https://github.com/jdx/mise/discussions/4461
1111windows_executable_extensions = [" sh" ]
1212windows_default_file_shell_args = " bash"
13+ unix_default_file_shell_args = " bash"
1314use_file_shell_for_executable_tasks = true
1415
1516[tasks ."lint:markdown" ]
You can’t perform that action at this time.
0 commit comments