generated from sachinraja/ts-lib-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(markdownlint): Configure and setup
markdownlint
as lint tools (#31)
* ci(markdownlint): 配置和支持对 Markdown 文件的 lint * ci(markdownlint): 配置 nano-staged 和 package.json 中的 scripts * ci(markdownlint): 移除多余的配置 * ci(markdownlint): 移除多余的配置 * ci(markdownlint): 修复 lint
- Loading branch information
1 parent
1421468
commit eece5d6
Showing
9 changed files
with
156 additions
and
95 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,36 @@ | ||
{ | ||
// Example markdownlint JSON(C) configuration with all properties set to their default value | ||
// Default state for all rules | ||
"default": true, | ||
|
||
// Path to configuration file to extend | ||
"extends": null, | ||
|
||
// MD013/line-length - Line length | ||
"MD013": { | ||
// Number of characters | ||
"line_length": -1, | ||
// Number of characters for headings | ||
"heading_line_length": 150, | ||
// Number of characters for code blocks | ||
"code_block_line_length": 150, | ||
// Include code blocks | ||
"code_blocks": true, | ||
// Include tables | ||
"tables": false, | ||
// Include headings | ||
"headings": true, | ||
// Include headings | ||
"headers": true, | ||
// Strict length checking | ||
"strict": false, | ||
// Stern length checking | ||
"stern": false | ||
}, | ||
|
||
// MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading | ||
"MD041": false, | ||
|
||
// MD033/no-inline-html - Inline HTML | ||
"MD033": false | ||
} |
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,2 @@ | ||
CHANGELOG.md | ||
node_modules |
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,3 +1,3 @@ | ||
{ | ||
"recommendations": ["dbaeumer.vscode-eslint", "dprint.dprint"] | ||
"recommendations": ["dbaeumer.vscode-eslint", "dprint.dprint", "DavidAnson.vscode-markdownlint"] | ||
} |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.