Commit graph

814 commits

Author SHA1 Message Date
David Anson
7a53caa7fb Replace helpers.linkRe with helpers.forEachLink to fix "Polynomial regular expression used on uncontrolled data" and to better support link syntax. 2022-02-18 21:14:14 -08:00
David Anson
861443c740 Update MD042/no-empty-links to improve range reporting, remove helpers.emptyLinkRe. 2022-02-13 17:41:31 -08:00
David Anson
7c1550cbe9 Remove RegExp lookbehind assertions used to fix "Polynomial regular expression used on uncontrolled data" because they are not supported in Safari, add eslint-plugin-es rule no-regexp-lookbehind-assertions to prevent regressions. 2022-02-13 16:57:09 -08:00
David Anson
f46ee0732f Update helpers.inlineCommentRe to fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-02-12 22:02:08 -08:00
David Anson
1c89dd5776 Reimplement helpers.isBlankLine to fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-02-11 21:54:43 -08:00
David Anson
b9474e84a3 Add optional "platform" parameter to helpers.applyFixes (closes #496). 2022-02-09 22:44:49 -08:00
David Anson
4593b61ff5 Remove outdated suppressions from external repo tests. 2022-02-09 22:20:24 -08:00
EmilySeville7cfg
245791f79f Improve JSON schema (fixes #493). 2022-01-24 21:00:36 -08:00
David Anson
3a62220e87 Add "plugin:unicorn/all" to "extends" to simplify .eslintrc.json. 2022-01-23 23:05:24 -08:00
David Anson
3ba2df7386 Fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-01-23 22:45:57 -08:00
David Anson
96699459d1 Fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-01-22 22:48:22 -08:00
Paweł Drozd
4b7caf2a5b
Add eslint-plugin-markdownlint to Related/Tooling section (fixes #490). 2022-01-22 18:38:38 -08:00
David Anson
cb5eebb145 Fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-01-21 21:51:36 -08:00
David Anson
b6121341b9 Fix an instance of "Polynomial regular expression used on uncontrolled data". 2022-01-20 20:02:14 -08:00
David Anson
a4c4e198d6
Remove outdated test repo exception for ESLint. (#487) 2022-01-19 18:37:01 -08:00
David Anson
2d19c0685b Update to version 0.25.1. 2022-01-13 22:29:31 -08:00
David Anson
61bb059c75 Make all package.json dependency versions explicit for more deterministic installs. 2022-01-13 22:22:20 -08:00
David Anson
66d533d038 Update npx invocation to pass --yes to avoid prompting to install missing packages. 2022-01-13 22:17:11 -08:00
David Anson
23d8ed7c01 Add test case for custom rule that imports an ESM module (refs #477). 2022-01-11 23:08:53 -08:00
David Anson
b1aef98220 Empty commit to note that previous commit fixes #478. 2022-01-11 22:45:12 -08:00
David Anson
f77eca0006 Update dependency: markdown-it to 12.3.2. 2022-01-11 22:43:10 -08:00
David Anson
05b4b5fd06 Update copyright year to 2022. 2022-01-08 20:42:55 +00:00
David Anson
02707cf270 Merge branch 'next' into main 2021-12-27 18:51:01 -08:00
David Anson
4ff4cbcc41 Update to version 0.25.0. 2021-12-27 18:43:25 -08:00
David Anson
e298e3daa4 Include async/await function in custom rules test for asynchronous mode. 2021-12-27 18:25:18 -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
528758e962 Update dependencies: eslint to 8.5.0, eslint-plugin-jsdoc to 37.4.0. 2021-12-27 04:37:51 +00:00
David Anson
fd24b9552b Remove require("os") from helpers to reduce dependencies for browser scenarios. 2021-12-27 03:41:43 +00:00
David Anson
9ec14f13a1 Include custom rule markdownlint-rule-github-internal-links when validating project Markdown files. 2021-12-23 20:52:17 +00:00
David Anson
5f0040679d Deep freeze name/tokens/lines/frontMatterLines properties of params object before passing to (custom) rules for shared access. 2021-12-23 04:34:25 +00:00
Adithya Balaji
5253669495 Fix array indexing for markdownlint-disable-next-line when front matter is present. 2021-12-22 19:27:19 -08:00
David Anson
7a76f1d22d Update MD039/no-space-in-links to fix reference-style links, be slightly more permissive matching link content. 2021-12-22 14:52:43 -08:00
David Anson
064a1e33e1 Update Node version for TestRepos workflow from 12 to 16. 2021-12-21 21:38:29 -08:00
David Anson
ff8f4ea9fc Reduce execution time by ~50% by updating getEnabledRulesPerLineNumber to make enabledRules immutable and copy only when changed (also, simplify handleInlineConfig slightly). 2021-12-21 21:31:47 -08:00
David Anson
7cf9c2d6be Update MD037/no-space-in-emphasis to ignore embedded underscore emphasis markers (fixes #444, fixes #408, fixes #354, fixes #324). 2021-12-21 22:21:28 +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
6dea67825a Update definition of helpers.isBlankLine to treat unterminated start/end comments as potentially blank lines (fixes #431). 2021-12-20 04:18:45 +00:00
David Anson
1b23976aa2 Update dependencies: eslint-plugin-jsdoc to 37.2.8, eslint-plugin-unicorn to 39.0.0. 2021-12-19 04:04:53 +00:00
David Anson
64fcee7e49 Update dependencies: c8 to 7.10.0, markdown-it-texmath to 0.9.7, markdownlint-rule-helpers to 0.15.0, ts-loader to 9.2.6, typescript to 4.5.4, webpack to 5.65.0, webpack-cli to 4.9.1. 2021-12-19 03:55:10 +00:00
David Anson
a656762710 Update dependency: markdown-it to 12.3.0. 2021-12-19 03:45:00 +00:00
David Anson
4ed314d1e7 Add npm scripts upgrade and docker-npm-run-upgrade. 2021-12-19 03:41:05 +00:00
David Anson
d57b4770ed Update MD010/no-hard-tabs to allow tabs in code spans when the code_blocks parameter is set to false (for consistency) (fixes #454). 2021-12-17 17:24:00 -08:00
David Anson
0d9dfe7120 Split markdownlint-test-extra-* tests into separate files for (slightly) better concurrency. 2021-12-17 02:20:55 +00:00
David Anson
442dcfe5b8 Duplicate test markdownlint-test-extra.js to markdownlint-test-extra-type.js and markdownlint-test-extra-parse.js for splitting. 2021-12-17 02:15:13 +00:00
David Anson
ecf42ad7f5 Fix test break introduced by test-only dependency markdown-it-texmath changing the tag for token type "math_block" from "math" to "$$" from version 0.9.6 to 0.9.7. 2021-12-17 02:03:48 +00:00
David Anson
8849e84e1c Fix test break introduced by test-only dependency markdown-it-texmath changing the tag for token type "math_block" from "math" to "$$" from version 0.9.6 to 0.9.7. 2021-12-17 01:56:42 +00:00
David Anson
4ed6af67ac Placeholder to note that parent commit fixes #430. 2021-12-14 23:08:48 -08:00
David Anson
8fde53cf31 Update MD035/hr-style to correctly match thematic breaks in block quotes. 2021-12-14 23:05:03 -08:00
David Anson
517eb42015 Update MD007/ul-indent to support start_indent parameter (fixes #337, closes #397). 2021-12-13 21:49:43 -08:00