Skip to content

Commit b2dee17

Browse files
committed
Add markdownlint CLI docker configuration
1 parent 8b1537b commit b2dee17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

megalinter/descriptors/markdown.megalinter-descriptor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ linters:
2727
cli_lint_fix_arg_name: "-fix"
2828
cli_lint_fix_remove_args: [" "]
2929
cli_lint_errors_count: total_lines
30+
cli_docker_image: "davidanson/markdownlint-cli2"
31+
cli_docker_args:
32+
- "-v"
33+
- "{{WORKSPACE}}:/tmp/lint:rw"
3034
examples:
3135
- "markdownlint-cli2 myfile.md"
3236
- "markdownlint-cli2-fix myfile.md"

0 commit comments

Comments
 (0)