mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add MD050/strong-style (fixes #150).
This commit is contained in:
parent
6294ad3ef0
commit
ab9e5875a2
23 changed files with 255 additions and 19 deletions
|
|
@ -492,8 +492,9 @@ test.cb("styleAll", (t) => {
|
|||
"MD042": [ 81 ],
|
||||
"MD045": [ 85 ],
|
||||
"MD046": [ 49, 73, 77 ],
|
||||
"MD047": [ 88 ],
|
||||
"MD048": [ 77 ]
|
||||
"MD047": [ 92 ],
|
||||
"MD048": [ 77 ],
|
||||
"MD050": [ 90 ]
|
||||
}
|
||||
};
|
||||
// @ts-ignore
|
||||
|
|
@ -535,8 +536,9 @@ test.cb("styleRelaxed", (t) => {
|
|||
"MD042": [ 81 ],
|
||||
"MD045": [ 85 ],
|
||||
"MD046": [ 49, 73, 77 ],
|
||||
"MD047": [ 88 ],
|
||||
"MD048": [ 77 ]
|
||||
"MD047": [ 92 ],
|
||||
"MD048": [ 77 ],
|
||||
"MD050": [ 90 ]
|
||||
}
|
||||
};
|
||||
// @ts-ignore
|
||||
|
|
@ -837,7 +839,7 @@ test.cb("customFileSystemAsync", (t) => {
|
|||
});
|
||||
});
|
||||
test.cb("readme", (t) => {
|
||||
t.plan(115);
|
||||
t.plan(117);
|
||||
const tagToRules = {};
|
||||
rules.forEach(function forRule(rule) {
|
||||
rule.tags.forEach(function forTag(tag) {
|
||||
|
|
@ -913,7 +915,7 @@ test.cb("readme", (t) => {
|
|||
});
|
||||
|
||||
test.cb("rules", (t) => {
|
||||
t.plan(336);
|
||||
t.plan(344);
|
||||
fs.readFile("doc/Rules.md", "utf8",
|
||||
(err, contents) => {
|
||||
t.falsy(err);
|
||||
|
|
@ -1566,7 +1568,7 @@ test.cb("configBadFilePromise", (t) => {
|
|||
});
|
||||
|
||||
test("allBuiltInRulesHaveValidUrl", (t) => {
|
||||
t.plan(132);
|
||||
t.plan(135);
|
||||
rules.forEach(function forRule(rule) {
|
||||
t.truthy(rule.information);
|
||||
t.true(Object.getPrototypeOf(rule.information) === URL.prototype);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue