Skip to content

Commit

Permalink
Set MD013 to false
Browse files Browse the repository at this point in the history
  • Loading branch information
chong-he committed Apr 11, 2024
1 parent 12d196d commit 46a31b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion book/.markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ MD040: false

# MD033 in-line html: https://github.com/DavidAnson/markdownlint/blob/main/doc/md033.md
# In-line html is fine in the markdown files, so this is set to false
MD033: false
MD033: false

#MD013 line length: https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
# Set to false as this will also interfere with help_x.md files, and it is not necessary to comply with the line length of 80
MD013: false
2 changes: 1 addition & 1 deletion scripts/mdlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#set -e

# use markdownlint-cli docker to check for markdown file s
docker run -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --fix --disable MD013
docker run -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --fix

# exit code
exit_code=$(echo $?)
Expand Down

0 comments on commit 46a31b3

Please sign in to comment.