Commit graph

65 commits

Author SHA1 Message Date
David Anson
d0a491d74b Refactor tests to split large repo tests into separate files so ava will run them in parallel (reduces test time by ~50%). 2023-12-30 19:14:31 -08:00
David Anson
652244fbab Update test repos script to transform "allow_different_nesting" rule parameter to "siblings_only" per removal of former. 2023-12-05 20:09:57 -08:00
David Anson
4390715f4b Update test repos script to transform "header"-based rule names to "heading"-based now that the former aliases have been removed. 2023-11-10 22:56:25 -08:00
David Anson
f5a2df1e86 Update test repository linting tests to use snapshots instead of RegExp exclusions, remove https://github.com/mdn/translated-content test repository due to overlap with https://github.com/mdn/content. 2023-06-01 21:21:52 -07:00
David Anson
ee6407b00a Remove suppression for fixed issues in https://github.com/mdn/content test repository. 2023-04-24 21:38:41 -07:00
David Anson
38e168ba09 Update test-repos implementation to output all unnecessary RegExps, remove suppression for fixed issues in https://github.com/pi-hole/docs test repository. 2023-04-24 21:24:19 -07:00
David Anson
7bacd23ccd Remove suppression for fixed issues in https://github.com/dotnet/docs test repository. 2023-04-21 20:52:46 -07:00
David Anson
d9d15c36ef Add suppression for new test repository violation. 2023-03-30 03:37:36 +00:00
David Anson
2cb8931e69 Add suppressions for new test repository violation. 2023-03-22 22:19:22 -07:00
David Anson
5847b38eec Add suppressions for new test repository violations. 2023-03-16 20:54:32 -07:00
David Anson
42f2612c35 Unify ignore patterns for mdn/content and mdn/translated-content repositories in external repo tests, skip mdn/translated-content for now due to new, un-ignored issues. 2023-02-25 21:44:43 -08:00
David Anson
962547ecc8 Reimplement MD038/no-space-in-code using micromark tokens. 2023-02-25 15:50:58 -08:00
David Anson
b990b3ea77 Reimplement MD034/no-bare-urls using micromark tokens (fixes #707). 2023-02-25 15:50:57 -08:00
David Anson
3bf4bb1cda Ignore failures for two newly-found issues in https://github.com/electron/electron repository. 2023-02-25 15:50:57 -08:00
David Anson
c53df8b720 Fix range calculation in MD033/no-inline-html during re-parse of tabbed content. 2023-02-25 15:50:56 -08:00
David Anson
48a92d41a4 Reimplement MD033/no-inline-html using micromark tokens. 2023-02-25 15:50:56 -08:00
David Anson
ff85dde7df Add MDN translated content repository to test-repos.js. 2023-01-15 18:01:48 -08:00
David Anson
c346e0dbac Add Apache Airflow and Electron repositories to README Examples and test-repos.js. 2022-12-19 21:15:47 -08:00
David Anson
466f1d00e4 Remove outdated exclusions from external repository tests. 2022-12-16 13:57:56 -08:00
David Anson
d352d4ece1 Update MD034/no-bare-urls to handle more scenarios, simplify slightly, replace blanket MD034 suppression for https://github.com/mdn/content with specific (valid) issues (refs #607). 2022-12-15 14:27:07 -08:00
David Anson
6e38259a4a Add https://github.com/mdn/content to test-repos scenario, ignore new MD034 issues for now (fixes #607). 2022-12-14 23:04:47 -08:00
David Anson
e8ec7bd94f Remove clone-test-repos-large npm script, merge into clone-test-repos. 2022-12-14 22:51:03 -08:00
David Anson
b133beaa77 Remove outdated exclusions from external repository tests. 2022-11-29 04:11:20 +00:00
David Anson
0294b9bcc8 Add .mjs to linting, switch from eslint-plugin-node (no longer maintained) to eslint-plugin-n, update suppressions. 2022-10-26 03:26:59 +00:00
David Anson
c845fe5ca3 Update external repository test for conversion from .markdownlint.json to .markdownlint-cli2.jsonc. 2022-10-05 06:23:30 +00:00
David Anson
9fcce62e20 Remove outdated exclusion from external repository tests. 2022-10-05 06:04:01 +00:00
David Anson
743897c5be
Remove outdated exclusion from external repository tests. 2022-08-25 09:40:01 -07:00
David Anson
392a184bc8 Update external repository tests to account for fixed violation. 2022-08-15 21:20:27 -07:00
David Anson
4c00ffa2f0 Fix new violations from eslint-plugin-unicorn update. 2022-08-15 21:20:27 -07:00
David Anson
2b2dc27f24 Address linting violation introduced due to not being able to run locally. 2022-08-14 18:59:53 -07:00
David Anson
4767ebc6f1 Update test for external repositories to exclude a deliberate violation. 2022-08-14 18:52:43 -07:00
David Anson
2488a5c0ce Remove some ignores for external repository testing that are no longer needed. 2022-08-08 21:12:30 -07:00
David Anson
95466e29be Remove some ignores for external repository testing that are no longer needed. 2022-07-21 04:27:14 +00:00
David Anson
c5ca661b96 Add MD052/reference-links-images and MD053/link-image-reference-definitions for reporting issues with link and image references (fixes #144, fixes #390, fixes #425, fixes #456). 2022-06-01 20:26:01 -07:00
David Anson
b6ea481c23 Update lint-test-repos scenarios to restore an exclusion that is still needed. 2022-05-18 21:55:03 -07:00
David Anson
c7d74cf6c0 Update lint-test-repos scenarios for recent changes to test repositories. 2022-05-18 21:49:08 -07:00
David Anson
5505deb1c9 Update lint-test-repos scenarios to ignore three newly-introduced external issues, run on Windows. 2022-05-17 21:29:49 -07: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
db5d9f6dbb Update previous commit for MD051/link-fragments to rename, refactor, add support for HTML anchors, and validate against
markdown-link-check (fixes #253).
2022-04-16 14:08:56 -07:00
David Anson
4593b61ff5 Remove outdated suppressions from external repo tests. 2022-02-09 22:20:24 -08:00
David Anson
a4c4e198d6
Remove outdated test repo exception for ESLint. (#487) 2022-01-19 18:37:01 -08:00
David Anson
11e9a20531 Update dependency: globby to 12.0.2. 2021-12-27 22:53:04 +00:00
David Anson
05b9e6e43c Update dependency: strip-json-comments to 4.0.0. 2021-12-27 21:59:56 +00:00
David Anson
3e8d3320f7 Add test for outdated ignore expressions to markdownlint-test-repos. 2021-12-21 05:31:26 +00:00
David Anson
925f9cd168 Simplify exclusions for external repository tests, make exclusions more selective. 2021-11-29 22:21:23 -08:00
David Anson
1e82f76596 Reimplement inlineCodeSpanRanges as codeBlockAndSpanRanges to fix an issue with unterminated code spans (and for flexibility). 2021-11-23 04:51:20 +00:00
David Anson
6c17718242 Add new test repo suppression for pre-release rule MD049. 2021-11-10 21:53:51 -08:00
David Anson
8179adf38e Add new test repo suppressions for pre-release rule MD049. 2021-11-09 22:17:21 -08:00
David Anson
d121518911 Add new test repo suppression for pre-release rule MD049. 2021-10-29 22:09:34 -07:00
David Anson
956b55b55e Simplify syntax for exclusion of globs/files in markdownlint-test-repos.js. 2021-10-23 22:24:47 -07:00