Commit graph

15 commits

Author SHA1 Message Date
David Anson
b1eff75034 Update MD044/proper-names to parse into micromark htmlFlow tokens for better behavior when html_elements is false (fixes #832). 2023-05-31 20:25:56 -07:00
David Anson
0ebcf248ca Simplify test directory by moving all JSON configuration for scenario tests into the Markdown file via markdownlint-configure-file. 2023-03-15 21:26:22 -07:00
David Anson
37baddcf27 Generate Rules.md and md###.md files from metadata, improve Parameters documentation by referencing schema. 2022-10-29 23:21:45 -07:00
David Anson
56f379b0fc Remove legacy exclusion from scenario tests for files with no errors (previously "detailed-" files). 2022-10-15 16:06:20 -07:00
David Anson
4c00ffa2f0 Fix new violations from eslint-plugin-unicorn update. 2022-08-15 21:20:27 -07:00
David Anson
b6471fba31 Enable ESLint rule unicorn/no-array-for-each, auto-fix all violations, manually address new issues for ~4% time reduction measured via profile-fixture.mjs on Apple Silicon M1. 2022-06-08 22:10:27 -07:00
David Anson
3be22e0620 Remove unnecessary promise from markdownlint-test-scenarios.js. 2022-05-11 06:07:43 +00:00
David Anson
820f2699ca Reimplement markdownlint-test-scenarios.js to be simpler, more efficient, and use AVA test snapshots for all file-based test scenarios. 2022-05-10 06:11:46 +00:00
David Anson
9310713da1 Make resultVersion 3 (report multiple errors per line, include fixInfo) the default. 2022-04-21 21:30:56 -07:00
David Anson
5f0f7653e0 Update all "detailed-results" tests to use resultVersion 3 (based on current output). 2021-06-14 22:47:24 -07:00
David Anson
4db40256d9 Re-implement MD044/proper-names for better accuracy (range and fixInfo are now always valid) (fixes #402, fixes #403). 2021-06-12 17:10:59 -07:00
David Anson
49945d6601 Convert from tape test harness to ava, address minor declaration file issue. 2021-01-10 20:46:00 -08:00
David Anson
3827842930 Delete markdownlint-test-default-config.json, allow MD041 to default to true, add missing headings. 2020-11-15 17:03:20 -08:00
David Anson
1f6a2cdc96 Split primary test cases across multiple files, address bogus @ts-ignore issues. 2020-09-12 12:42:46 -07:00
David Anson
ebc74e3d5f Duplicate markdownlint-test.js as first step of splitting it into smaller files. 2020-09-12 12:13:06 -07:00