-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Add linting to git commit (#11556)
* Chore: Add linting to git commit * Use local ESLint * Add support for Markdown linting * Add markdown linting
- Loading branch information
1 parent
8684f46
commit 8b4dba6
Showing
3 changed files
with
34 additions
and
24 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,20 @@ | ||
default: true | ||
|
||
# Exclusions for deliberate/widespread violations | ||
MD001: false # Header levels should only increment by one level at a time | ||
MD002: false # First header should be a h1 header | ||
MD007: # Unordered list indentation | ||
indent: 4 | ||
MD012: false # Multiple consecutive blank lines | ||
MD013: false # Line length | ||
MD014: false # Dollar signs used before commands without showing output | ||
MD019: false # Multiple spaces after hash on atx style header | ||
MD021: false # Multiple spaces inside hashes on closed atx style header | ||
MD024: false # Multiple headers with the same content | ||
MD026: false # Trailing punctuation in header | ||
MD029: false # Ordered list item prefix | ||
MD030: false # Spaces after list markers | ||
MD033: false # Allow inline HTML | ||
MD034: false # Bare URL used | ||
MD040: false # Fenced code blocks should have a language specified | ||
MD041: false # First line in file should be a top level header |
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
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