mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Update MD043/required-headings to support "?" meaning "exactly one unspecified heading" (fixes #475).
This commit is contained in:
parent
06b60b7372
commit
5749c8dcf7
15 changed files with 297 additions and 18 deletions
|
@ -907,7 +907,7 @@ test("readme", async(t) => {
|
|||
});
|
||||
|
||||
test("validateJsonUsingConfigSchemaStrict", async(t) => {
|
||||
t.plan(187);
|
||||
t.plan(192);
|
||||
// @ts-ignore
|
||||
const ajv = new Ajv(ajvOptions);
|
||||
const validateSchemaStrict = ajv.compile(configSchemaStrict);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue