David Anson
|
152720f00e
|
Update MD051/link-fragments to support indexing of repated headings.
|
2022-04-21 21:02:46 -07:00 |
|
David Anson
|
8c5f28c2f0
|
Refactor MD051/link-fragments slightly to reduce dependencies.
|
2022-04-20 21:27:21 -07:00 |
|
David Anson
|
9a5e7e42ef
|
Update MD051/link-fragments to use the same character classes as GitHub, encode unprintable characters from emojii.
|
2022-04-18 20:59:01 -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 |
|
Divlo
|
33ee1cd85e
|
Initial implementation of MD051/valid-link-fragments (refs #253, closes #495).
|
2022-04-16 14:08:56 -07:00 |
|
David Anson
|
62f5c85238
|
Stop sharing params object across rules because doing so is unstable for asynchronous rules (fixes #510).
|
2022-03-20 12:59:35 -07:00 |
|
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
|
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 |
|
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
|
2d19c0685b
|
Update to version 0.25.1.
|
2022-01-13 22:29:31 -08:00 |
|
David Anson
|
4ff4cbcc41
|
Update to version 0.25.0.
|
2021-12-27 18:43:25 -08: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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
David Anson
|
13e375b281
|
Disable ESLint rule func-style.
|
2021-12-11 21:48:00 -08:00 |
|
David Anson
|
2056d81682
|
Add support for asynchronous custom rules (ex: to read a file or make a network request).
|
2021-12-11 21:44:25 -08:00 |
|
David Anson
|
109e0d8cb6
|
Refactor custom rule exception tests for smaller size and better coverage.
|
2021-12-10 21:33:20 -08:00 |
|
David Anson
|
e7662b11b5
|
Simplify lintContent by removing errors array and processing errors in onError so nothing needs to be done after invoking a rule.
|
2021-12-04 22:09:20 -08:00 |
|
David Anson
|
d3c56d3ab8
|
Refactor lintContent to do less processing of errors for each rule and instead handle all errors at the end.
|
2021-12-04 17:02:11 -08:00 |
|
David Anson
|
e531bd6359
|
Refactor lintInput to share code between sync/async, support an async path for strings, and process files first for better concurrency.
|
2021-12-03 22:43:58 -08:00 |
|
David Anson
|
7330ea4946
|
Add information about parser/index to error messages when parsing configuration file content.
|
2021-11-30 21:28:59 -08:00 |
|
David Anson
|
291597edb9
|
Update rules MD049/emphasis-style and MD050/strong-style to include range and fixInfo when reporting issues (i.e., to be automatically fixable).
|
2021-11-28 23:26:02 -08:00 |
|
David Anson
|
a508824b0f
|
Refactor helpers.emphasisMarkersInContent slightly to avoid duplicate/unnecessary work.
|
2021-11-26 05:37:04 +00:00 |
|
David Anson
|
11806dc5cb
|
Tokens inside tables that lack a map should get it from the surrounding table row (which is more scoped than the table body) (fixes #463).
|
2021-11-26 04:26:15 +00: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
|
8e22c009fd
|
Add transpileOnly=true to ts-loader/webpack to reduce build-demo script time by ~40%.
|
2021-11-13 12:40:51 -08:00 |
|
David Anson
|
573ebe7462
|
Move two instances of deprecatedRuleNames into constants.js.
|
2021-11-11 22:37:16 -08:00 |
|
David Anson
|
c5345f45eb
|
Replace require("package.json") with constants.js to simplify and remove that file from markdownlint-browser.js.
|
2021-11-10 21:48:15 -08:00 |
|
David Anson
|
d032dc6b33
|
Remove rimraf from build-demo script to try to avoid rare failures under GitHub Actions.
|
2021-10-30 17:45:33 -07:00 |
|
David Anson
|
c4a7c87d69
|
Update package.json / engines / node to 12+ due to deprecation of Node 10.
|
2021-10-30 17:32:51 -07:00 |
|
David Anson
|
f111c10b18
|
Add docker-npm-install script for "npm install" within a container.
|
2021-10-29 21:49:18 -07:00 |
|
Sébastien Règne
|
39724b991a
|
Add MD049/emphasis-style (fixes #150).
|
2021-10-23 21:54:58 -07:00 |
|
Álvaro Mondéjar Rubio
|
f7dfd59a5e
|
Update MD033/no-inline-html to handle HTML elements in multi-line code spans (fixes #436).
|
2021-10-23 12:58:22 -07:00 |
|
Sébastien Règne
|
ab9e5875a2
|
Add MD050/strong-style (fixes #150).
|
2021-10-20 21:42:48 -07:00 |
|