Add tests for MD013/line-length edge case behavior.
Some checks failed
Checkers / linkcheck (push) Has been cancelled
Checkers / spellcheck (push) Has been cancelled
CI / build (20, macos-latest) (push) Has been cancelled
CI / build (20, ubuntu-latest) (push) Has been cancelled
CI / build (20, windows-latest) (push) Has been cancelled
CI / build (22, macos-latest) (push) Has been cancelled
CI / build (22, ubuntu-latest) (push) Has been cancelled
CI / build (22, windows-latest) (push) Has been cancelled
CI / build (24, macos-latest) (push) Has been cancelled
CI / build (24, ubuntu-latest) (push) Has been cancelled
CI / build (24, windows-latest) (push) Has been cancelled
CI / pnpm (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
TestRepos / build (latest, ubuntu-latest) (push) Has been cancelled
UpdateTestRepos / update (push) Has been cancelled

This commit is contained in:
David Anson 2025-11-25 17:17:12 -08:00
parent b4df555e7c
commit eb83b49845
5 changed files with 187 additions and 1 deletions

View file

@ -1101,7 +1101,7 @@ test("readme", async(t) => {
});
test("validateJsonUsingConfigSchemaStrict", async(t) => {
t.plan(220);
t.plan(221);
// @ts-ignore
const ajv = new Ajv(ajvOptions);
const validateSchemaStrict = ajv.compile(configSchemaStrict);
@ -1112,6 +1112,7 @@ test("validateJsonUsingConfigSchemaStrict", async(t) => {
"test/inline-configure-file-invalid.md",
"test/inline-configure-file-violations.md",
"test/invalid-ul-style-style.md",
"test/long-lines-negative-line-length.md",
"test/wrong-types-in-config-file.md"
]);
const files = await globby([