Commit graph

748 commits

Author SHA1 Message Date
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
9c60343692 Add new rules MD049/MD050 to detailed-results-* test files. 2021-11-19 21:53:33 -08:00
David Anson
610b17e1a1 Run sub-tasks of "serial-declaration-demo" script in parallel for ~20% script time reduction. 2021-11-13 21:17:43 -08:00
David Anson
20365f8cb8 Restructure "ci" script for slightly better performance. 2021-11-13 20:42:36 -08: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
eaa8d0f15e Split "ci" script into two consecutive parallel groups to separate "declaration" and "build-demo" scripts which conflict when generated .d.ts files from the former are used by the latter; approximately balance the two groups based on CPU time of tasks. 2021-11-12 20:43:35 -08:00
David Anson
573ebe7462 Move two instances of deprecatedRuleNames into constants.js. 2021-11-11 22:37:16 -08:00
David Anson
983e586c9c Remove cpy-cli and rimraf dependencies; replace with simple script helper. 2021-11-11 22:02:51 -08:00
David Anson
090bbaa30f Resolve README.md-specific MD013/line-length violations. 2021-11-10 22:11:43 -08:00
David Anson
80863476b9 Add Pi-hole documentation to Examples in README.md. 2021-11-10 22:02:51 -08:00
David Anson
6c17718242 Add new test repo suppression for pre-release rule MD049. 2021-11-10 21:53:51 -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
8179adf38e Add new test repo suppressions for pre-release rule MD049. 2021-11-09 22:17:21 -08:00
David Anson
febfcd73c9 Trivial simplifications to webpack.config.js. 2021-11-09 22:11:35 -08:00
David Anson
0550ba91d3 Move .eslintignore content into .eslintrc.json, sort by setting name. 2021-10-30 17:55:50 -07: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
2bde578a38
Tweak sample text examples in CONTRIBUTING.md. 2021-10-30 12:53:50 -07:00
David Anson
495458c589 Update CONTRIBUTING.md with new guidelines. 2021-10-29 22:13:33 -07:00
David Anson
d121518911 Add new test repo suppression for pre-release rule MD049. 2021-10-29 22:09:34 -07:00
David Anson
f111c10b18 Add docker-npm-install script for "npm install" within a container. 2021-10-29 21:49:18 -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
Sébastien Règne
39724b991a
Add MD049/emphasis-style (fixes #150). 2021-10-23 21:54:58 -07:00
David Anson
aa8aa83db8 Update markdownlint-test-repos.js to ignore two files with newly-reported issues in dotnet-docs repo. 2021-10-23 12:59:39 -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
Janosh Riebesell
6294ad3ef0
readme add pre-commit sample links for both markdownlint CLIs (#440) 2021-10-08 08:35:37 -07:00
David Anson
a5bfaa8a7d Correct typo-ed references to RuleOnErrorInfo.details to detail. 2021-09-25 16:23:37 -07:00
David Anson
a852407c88 Merge branch 'next' 2021-08-22 22:44:52 -07:00
David Anson
e79e8188a5 Update to version 0.24.0. 2021-08-22 22:35:50 -07:00
David Anson
e72b2ba985 Update MD011/no-reversed-links to remove RegExp negative lookbehind assertion which is not supported on Safari. 2021-08-22 22:26:12 -07:00
David Anson
a8228ecd80 Update dependencies: c8 to 7.8.0, eslint to 7.32.0, eslint-plugin-jsdoc to 36.0.7, eslint-plugin-unicorn to 35.0.0, globby to 11.0.4, markdown-it-texmath to 0.9.1, ts-loader to 9.2.5, typescript to 4.3.5, webpack to 5.51.1, webpack-cli to 4.8.0. 2021-08-22 18:03:26 -07:00
David Anson
227750e0ee Update dependency: markdown-it to 12.2.0. 2021-08-22 17:41:04 -07:00
David Anson
c99ced2a7d Update MD037/no-space-in-emphasis to ignore emphasis on code fences and not report violations for scenarios that span an empty code fence (fixes #381). 2021-08-22 15:28:28 -07:00
David Anson
c0218b2489 Add MDN Web Docs to Examples in README.md. 2021-08-22 15:15:20 -07:00
David Anson
580e57ddee Add Prettier.md to document compatibility issues (fixes #410). 2021-08-13 22:18:39 -07:00
David Anson
92111e09cf Resolve Windows-specific test failure due to path comparison. 2021-08-12 20:59:50 -07:00
David Anson
709e314836 Update readConfig to use fs.access so the async path is fully async. 2021-08-12 20:43:18 -07:00
David Anson
211f09afbc Allow custom file system implementation to be passed when linting or reading configuration. 2021-08-12 19:38:03 -07:00
David Anson
dce5dd5e71 Remove helpers.utf8Encoding because it annoys the latest TypeScript compiler. 2021-08-05 22:07:12 -07:00
David Anson
b10147f16b Remove helpers.utf8Encoding because it annoys the latest TypeScript compiler. 2021-08-05 22:01:29 -07:00
David Anson
752e7141c8 Add test case for MD044/proper-names based on new issue (closes #409). 2021-06-30 21:21:23 -07:00
David Anson
7d40926367 Cache results of inlineCodeSpanRanges for use by MD011/MD044. 2021-06-17 22:01:27 -07:00
David Anson
706f48bd25 Re-implement MD011/no-reversed-links for better accuracy (range and fixInfo are now always valid) (fixes #398). 2021-06-17 21:50:03 -07:00
David Anson
646a67b8bd Add more test coverage for additionalProperties in config schema. 2021-06-15 22:25:51 -07:00
per1234
77d0105b4a
Correct typo in JSON schema type keyword (#406) 2021-06-15 12:33:55 -07:00
David Anson
d029c46a76 Remove test-repos exclusion that has been fixed in the repo. 2021-06-14 22:59:41 -07:00