-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
147 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 |
---|---|---|
@@ -1,126 +1,3 @@ | ||
{ | ||
"default": true, | ||
|
||
/* | ||
* MD001 - Header levels should only increment by one level at a time | ||
*/ | ||
"header-increment": true, | ||
|
||
/* | ||
* MD002 - First header should be a top level header | ||
*/ | ||
"first-header-h1": { | ||
"level": 1 | ||
}, | ||
|
||
/* | ||
* MD003 - Header style | ||
* | ||
* Triggered when different header styles (atx, setext, and 'closed' atx) | ||
* are used in the same document: | ||
* | ||
* # ATX style H1 | ||
* | ||
* ## Closed ATX style H2 ## | ||
* | ||
* Setext style H1 | ||
* =============== | ||
*/ | ||
"header-style": { | ||
// Values: "consistent", "atx", "atx_closed", "setext", | ||
// "setext_with_atx", "setext_with_atx_closed"; | ||
// | ||
// Default: "consistent" | ||
"style": "atx" | ||
}, | ||
/* | ||
* MD004 - Unordered list style | ||
* | ||
* Triggered when the symbols used in the document for unordered list | ||
* items do not match the configured unordered list style: | ||
* | ||
* * Item 1 | ||
* + Item 2 | ||
* - Item 3 | ||
*/ | ||
"ul-style": { | ||
// Values: "consistent", "asterisk", "plus", "dash", "sublist"; | ||
// Default: "consistent" | ||
"style": "consistent" | ||
}, | ||
|
||
/* | ||
* MD005 - Inconsistent indentation for list items at the same level | ||
* | ||
* Triggered when list items are parsed as being at the same level, but | ||
* don't have the same indentation: | ||
* | ||
* * Item 1 | ||
* * Nested Item 1 | ||
* * Nested Item 2 | ||
* * A misaligned item | ||
*/ | ||
"list-indent": true, | ||
|
||
/* | ||
* MD006 - Consider starting bulleted lists at the beginning of the line | ||
* | ||
* Triggered when top level lists don't start at the beginning of a line: | ||
* | ||
* Some text | ||
* | ||
* * List item | ||
* * List item | ||
*/ | ||
"ul-start-left": true, | ||
|
||
/* | ||
* MD007 - Unordered list indentation | ||
* | ||
* Triggered when list items are not indented by the configured number of | ||
* spaces. | ||
*/ | ||
"ul-indent": { | ||
// Default: 2 | ||
"indent": 4 | ||
}, | ||
|
||
/* | ||
* MD009 - Trailing spaces | ||
* | ||
* Triggered on any lines that end with whitespace. | ||
*/ | ||
"no-trailing-spaces": { | ||
// Allows an exception to this rule for a specific amount of trailing | ||
// spaces used to insert an explicit line break/br element. For | ||
// example, set br_spaces to 2 to allow exactly 2 spaces at the end of | ||
// a line. | ||
"br_spaces": 2, | ||
|
||
// Using spaces to indent blank lines inside a list item is usually | ||
// not necessary, but some parsers require it. Set the | ||
// list_item_empty_lines parameter to true to allow this. | ||
"list_item_empty_lines": true | ||
}, | ||
|
||
/* | ||
* MD013 - Line length | ||
* | ||
* Triggered when there are lines that are longer than the configured line | ||
* length (default: 80 characters). To fix this, split the line up into | ||
* multiple lines. | ||
*/ | ||
"line-length": { | ||
"line_length": 400, | ||
"headers": 80 | ||
}, | ||
|
||
/* | ||
* MD024 - Multiple headers with the same content | ||
* | ||
* Triggered if there are multiple headers in the document that have the | ||
* same text. | ||
*/ | ||
|
||
"no-duplicate-header": true | ||
"default": 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
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