We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0fb211 commit aa4bf4cCopy full SHA for aa4bf4c
linters/markdown.sh
@@ -13,8 +13,10 @@ readonly ACTION="${1:-check}"
13
shift || true
14
readonly DISABLE="${1:-MD013}"
15
16
+readonly EXCLUDE=".github-shared,node_modules,vendor,target"
17
+
18
check_markdown() {
- local args=(check .)
19
+ local args=(check . --exclude "$EXCLUDE")
20
[[ -n "$DISABLE" ]] && args+=(--disable "$DISABLE")
21
if rumdl "${args[@]}"; then
22
print_success "Markdown linting passed"
@@ -26,7 +28,7 @@ check_markdown() {
26
28
}
27
29
30
fix_markdown() {
- local args=(check --fix .)
31
+ local args=(check --fix . --exclude "$EXCLUDE")
32
33
34
print_success "Markdown files fixed"
0 commit comments