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
|
fdec335de4
|
Avoid redundant read/parse of test file in micromark helper test cases.
|
2023-03-20 22:05:05 -07:00 |
|
David Anson
|
5847b38eec
|
Add suppressions for new test repository violations.
|
2023-03-16 20:54:32 -07:00 |
|
David Anson
|
300ee36a5f
|
Re-introduce validateJsonUsingConfigSchemaStrict for validating the content of markdownlint-configure-file in Markdown files.
|
2023-03-16 20:41:32 -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
|
5bff33d41b
|
Reimplement MD044/proper-names using micromark tokens.
|
2023-03-14 21:03:07 -07:00 |
|
David Anson
|
20e571ba65
|
Add simple (GFM) table markup to "Every Markdown Syntax" test file.
|
2023-03-11 13:50:41 -08:00 |
|
David Anson
|
8057f3d37e
|
Reimplement MD035/hr-style using micromark tokens (fixes #736).
|
2023-03-06 21:39:21 -08:00 |
|
David Anson
|
81f35edd6c
|
Update tests to verify long lines inside HTML comments trigger MD013/line-length (closes #703).
|
2023-02-27 18:35:52 -08: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
|
13ced64c21
|
Rename markdownlint-micromark Token's .tokens property to .children for consistency and clarity.
|
2023-02-25 15:50:58 -08:00 |
|
David Anson
|
962547ecc8
|
Reimplement MD038/no-space-in-code using micromark tokens.
|
2023-02-25 15:50:58 -08:00 |
|
David Anson
|
4b27bac79b
|
Update all references to "params.tokens" to "params.parsers.markdownit.tokens" for clarity.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
5302ee45de
|
Add tests for micromark helpers filterByPredicate, filterByTypes, and getMicromarkEvents.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
ddb71ed1e8
|
Update tests and documentation for MD034/no-bare-urls to explain edge case behavior.
|
2023-02-25 15:50:57 -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
|
64159fa456
|
Address new @ts-check warnings in markdownlint-test.js.
|
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
|
545e571ca5
|
Update test snapshots for previous two test case updates (stored in "bugs" branch).
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
26c94ad61b
|
Add test case for undefined reference link in blockquote.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
9af466993f
|
Add test case for reference link with collapsed link syntax in URL (fixes #697).
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
97f99befb8
|
Reimplement getReferenceLinkImageData using micromark tokens.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
57c612cfa4
|
Fix invalid link definition syntax in break-all-the-rules.md.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
c1df46f607
|
Convert params.parsers.name to params.parsers.name.tokens for clarity/flexibility.
|
2023-02-25 15:50:56 -08:00 |
|
David Anson
|
80235711f4
|
Add test to ensure params.tokens and params.parsers.markdownit are the same object.
|
2023-02-25 15:50:56 -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
|
08b31da0aa
|
Move micromark.cjs helpers from lib to helpers so it can be used by code in both locations.
|
2023-02-25 15:50:56 -08:00 |
|
David Anson
|
1461ad6272
|
Add content parsing via micromark, publish frozen micromark tokens alongside markdown-it tokens, remove assert from micromark wrapper.
|
2023-02-25 15:50:56 -08:00 |
|
David Anson
|
c9e8f8b8ea
|
Convert micromark.mjs to micromark.cjs for use by synchronous APIs in markdownlint.js.
|
2023-02-25 15:49:52 -08:00 |
|
David Anson
|
000281e2f0
|
Add "// @ts-check" to top of new micromark-related modules, fix import typo.
|
2023-02-25 15:49:51 -08:00 |
|
David Anson
|
7142bbd8ed
|
Normalize line endings to get micromark test passing on Windows.
|
2023-02-25 15:49:51 -08:00 |
|
David Anson
|
366a498150
|
Initial implementation of markdownlint-micromark package, micromark.mjs helpers, and tests.
|
2023-02-25 15:49:51 -08:00 |
|
David Anson
|
ff85dde7df
|
Add MDN translated content repository to test-repos.js.
|
2023-01-15 18:01:48 -08:00 |
|
Bryan Mishkin
|
22db339eee
|
Move README.md History section to CHANGELOG.md using a format similar to what other projects use (fixes #694).
|
2023-01-05 19:24:04 -08:00 |
|
David Anson
|
f000a33481
|
Add test for helpers.getReferenceLinkImageData().shortcuts to verify non-shortcut link scenaros aren't mis-reported (closes #684).
|
2022-12-22 23:28:04 +00:00 |
|
David Anson
|
691b7afc52
|
Add test case to verify MD052 range parameter to onError is valid and that commit 6974cd6012 fixes #686.
|
2022-12-22 02:45:41 +00:00 |
|
David Anson
|
868edf889e
|
Manually fix three new ESLint warnings from the eslint-plugin-regexp plugin (refs #657).
|
2022-12-19 21:51:18 -08:00 |
|
David Anson
|
6b01a98363
|
Add ESLint plugin eslint-plugin-regexp, enable recommended rules, apply all automated fixes (refs #657).
|
2022-12-19 21:36:24 -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
|
8d6e0b5419
|
Replace helpers.urlRe with helpers.urlFe to address "innefficient regular expression" CodeQL alert, introduce function expressions as an alternative, test more inputs.
|
2022-12-18 15:46:19 -08:00 |
|
David Anson
|
485c63c579
|
Add more test cases for helpers.urlRe, refactor corresponding test to go line-by-line and use exec.
|
2022-12-17 15:38:55 -08:00 |
|
David Anson
|
466f1d00e4
|
Remove outdated exclusions from external repository tests.
|
2022-12-16 13:57:56 -08:00 |
|
David Anson
|
ac8f495ea2
|
Update MD051/link-fragments to identify and fix scenarios where the link fragment has the wrong case (fixes #605).
|
2022-12-16 13:50:38 -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
|
2e2937081e
|
Rename helpers.bareUrlRe to urlRe, improve it a little, add tests
|
2022-12-15 13:54:54 -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
|
e42da81293
|
Tweak test case heading for consistency.
|
2022-12-14 22:40:57 -08:00 |
|