mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Include custom rule markdownlint-rule-github-internal-links when validating project Markdown files.
This commit is contained in:
parent
5f0040679d
commit
9ec14f13a1
3 changed files with 5 additions and 3 deletions
|
|
@ -84,11 +84,12 @@ test.cb("projectFilesNoInlineConfig", (t) => {
|
|||
"doc/Prettier.md",
|
||||
"helpers/README.md"
|
||||
],
|
||||
"noInlineConfig": true,
|
||||
"config": {
|
||||
"line-length": { "line_length": 150 },
|
||||
"no-duplicate-heading": false
|
||||
}
|
||||
},
|
||||
"customRules": [ require("markdownlint-rule-github-internal-links") ],
|
||||
"noInlineConfig": true
|
||||
};
|
||||
markdownlint(options, function callback(err, actual) {
|
||||
t.falsy(err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue