-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(misc): add markdown lint and format (#2702)
- adds mdformat and markdownlint-cli as pre-commit hooks - excludes markdown files under docs/, to be considered for addition later (formatting was messing up math sections in user guides) - cleans up links in readme - standardizes headers in changelog
- Loading branch information
1 parent
1b3d0b9
commit 453ecae
Showing
4 changed files
with
1,366 additions
and
1,178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# default to true for all rules | ||
default: true | ||
|
||
# MD007/unordered-list-indent | ||
MD007: | ||
indent: 4 | ||
|
||
# MD033/no-inline-html | ||
MD033: false | ||
|
||
# MD041/first-line-h1 | ||
MD041: false | ||
|
||
# MD013/line-length | ||
MD013: | ||
line_length: 99 | ||
|
||
# MD024/no-duplicate-heading | ||
MD024: | ||
# Allow when nested under different parents e.g. CHANGELOG.md | ||
siblings_only: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.