Skip to content

Commit 5b39f40

Browse files
authored
pre-commit: silence markdownlint (#7067)
Closes #7064 Adding the two options will prevent their output to be printed to stdout. See https://github.com/DavidAnson/markdownlint-cli2/tree/main?tab=readme-ov-file#markdownlint-cli2jsonc `noBanner` and `noProgress` options.
1 parent e0adfb5 commit 5b39f40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.markdownlint-cli2.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ config:
77
siblings_only: true
88
line-length: false
99

10+
# Hide the Finding: <list of globs> when markdownlint fixes files
11+
noProgress: true
12+
13+
# Hide the markdownlint-cli and markdownlint versions on each block
14+
noBanner: true
15+
1016
# Define glob expressions to ignore
1117
ignores:
1218
- ".github/**"

0 commit comments

Comments
 (0)