mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Add proper-names rule to .markdownlint.json, update tests to use that file, fix resulting issues.
This commit is contained in:
parent
062585e281
commit
4affefc68d
4 changed files with 16 additions and 15 deletions
|
|
@ -83,10 +83,7 @@ test.cb("projectFilesNoInlineConfig", (t) => {
|
|||
"doc/Prettier.md",
|
||||
"helpers/README.md"
|
||||
],
|
||||
"config": {
|
||||
"line-length": { "line_length": 150 },
|
||||
"no-duplicate-heading": false
|
||||
},
|
||||
"config": require("../.markdownlint.json"),
|
||||
"customRules": [ require("markdownlint-rule-github-internal-links") ],
|
||||
"noInlineConfig": true
|
||||
};
|
||||
|
|
@ -109,7 +106,8 @@ test.cb("projectFilesInlineConfig", (t) => {
|
|||
const options = {
|
||||
"files": [ "doc/Rules.md" ],
|
||||
"config": {
|
||||
"no-inline-html": false
|
||||
"no-inline-html": false,
|
||||
...require("../.markdownlint.json")
|
||||
}
|
||||
};
|
||||
markdownlint(options, function callback(err, actual) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue