Move MD059 rule to configuration file (#7484)

This commit is contained in:
chonghe
2025-05-20 08:12:46 +08:00
committed by GitHub
parent 50dbfdf612
commit af87135e30
2 changed files with 6 additions and 3 deletions

View File

@@ -5,8 +5,7 @@
# Run `make mdlint` from the root of the repository instead.
# use markdownlint-cli to check for markdown files
# NOTE: we disable MD059 (descriptive-link-text) because it is too strict
docker run --rm -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --disable MD059
docker run --rm -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules
# exit code
exit_code=$(echo $?)