-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pre-commit: Switch to markdownlint-cli2 to avoid Ruby dependency
- Loading branch information
Showing
4 changed files
with
41 additions
and
26 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,38 @@ | ||
# | ||
# An example .markdownlint-cli2.yaml file | ||
# | ||
|
||
# Disable some built-in rules | ||
config: | ||
default: true | ||
|
||
# The same headline in different nested sections is okay (and necessary for | ||
# CHANGELOG.md). | ||
no-duplicate-header: | ||
allow_different_nesting: true | ||
|
||
# We use ordered lists to make stuff easier to read in a text editor. | ||
ol-prefix: | ||
style: ordered | ||
|
||
# Not wrapping long lines makes diffs easier to read, especially for prose. | ||
# Instead, we should follow the "one sentence per line" pattern. | ||
line-length: false | ||
|
||
# Dollar signs are useful to indicate shell commands/type and help | ||
# distinguishing wrapped lines from new commands. | ||
commands-show-output: false | ||
|
||
# Indented code blocks are easier to read in a text editor, but don't allow | ||
# specifying a language for syntax highlighting. Therefore both indented and | ||
# fenced code block should be allowed depending on the use case. | ||
code-block-style: false | ||
|
||
# Fix any fixable errors | ||
fix: true | ||
|
||
# Disable inline config comments | ||
noInlineConfig: true | ||
|
||
# Disable progress on stdout (only valid at root) | ||
noProgress: true |
This file was deleted.
Oops, something went wrong.
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