Commit graph

80 commits

Author SHA1 Message Date
David Anson
dcf0462c22 Add regular expressions from vscode-markdownlint for error range in results. 2016-10-31 22:53:46 -07:00
David Anson
09ae51fdaa Improve reporting of MD027 for lists in blockquotes. 2016-10-27 22:09:05 -07:00
David Anson
5627bc27eb Add tests to verify detailed result format and basic content. 2016-10-26 21:31:53 -07:00
David Anson
0ca8bc7bb6 Add options.resultVersion for more detailed error reporting (fixes #23). 2016-10-23 21:30:31 -07:00
David Anson
3a356467cd Support paren vs. dot for ordered list markers per CommonMark specification. 2016-10-16 21:51:49 -07:00
David Anson
affd94e061 Add maximum parameter to MD012/no-multiple-blanks (fixes #27). 2016-10-03 21:42:44 -07:00
David Anson
ce9ec8fb5e MD036 should not trigger for emphasized list items (fixes #26). 2016-09-30 22:54:16 -07:00
David Anson
a2df7742c6 Add code_blocks parameter to MD010 to ignore hard tabs in code blocks (fixes #31). 2016-09-29 21:25:10 -07:00
David Anson
fdeeddc99d Update code/tests with latest functionality in Ruby markdownlint. 2016-09-24 16:15:54 -07:00
David Anson
256e5a7e73 Add more tests for recent changes, handle additional edge cases. 2016-09-10 19:23:50 -07:00
OHTAKE Tomohiro
cbfdff227e MD027 should support blockquote nesting 2016-09-10 14:38:23 -07:00
OHTAKE Tomohiro
84ff8bb616 MD029 and MD030 should allow ordered list in blockquote 2016-09-07 17:09:13 +09:00
David Anson
0a6e3e0ae8 Update dependencies: eslint to 3.0.1. 2016-07-05 14:49:33 -07:00
David Anson
c668c7c6a9 Update eslint configuration to latest format/rules. 2016-07-05 00:06:48 -07:00
David Anson
b17dcb2ed9 Update dependencies: eslint to 3.0.0, rimraf to 2.5.3, uglify-js to 2.7.0. 2016-07-04 23:37:54 -07:00
David Anson
f2060b4607 Add level parameter to MD002/MD025/MD041 (fixes #19). 2016-07-04 23:23:29 -07:00
David Anson
7a1773ea77 Add "sublist" style to MD004 (fixes #21). 2016-07-04 14:32:40 -07:00
David Anson
c8ecec1953 Add MD043 required-headers "Required header structure" (fixes #22). 2016-07-02 22:37:52 -07:00
David Anson
2612a96ae8 Add MD042 no-empty-links "No empty links" (fixes #24). 2016-06-27 22:19:02 -07:00
David Anson
efe9c9e73c MD007 shouldn't apply to sublists of ordered lists, test and document MD006 behavior (fixes #20). 2016-06-26 11:56:48 -07:00
David Anson
83639b8ef8 Add support to MD011 for Markdown Extra-style footnotes (fixes #18). 2016-06-24 23:13:00 -07:00
David Anson
cfef715ed3 Remove newly-dead code due to multi-line setext header support in markdown-it. 2016-06-23 22:53:42 -07:00
David Anson
c1956afd66 Update dependencies: markdown-it to 7.0.0, browserify to 13.0.1, cpy-cli to 1.0.1, eslint to 2.13.1, glob to 7.0.5, istanbul to 0.4.4, uglify-js to 2.6.4.
Handle new support for multi-line setext headers.
2016-06-23 22:41:47 -07:00
David Anson
f866fac2d3 Add test for new behavior, refactor to fix and clarify. 2016-02-24 21:11:58 -08:00
Christopher Lopes
d06681198a Conform to style guidelines in setext_with_atx_closed feature
Indentation was off in logic. Also update documentation grammar
appropriately.
2016-02-24 19:32:35 -08:00
Christopher Lopes
32cd4feaea Add style option setext_with_atx_closed to header style rule MD003
Atx-style headers which are closed can now be used with setext style
headers, when at header level 3 or more.
2016-02-23 21:22:46 -08:00
David Anson
e60e16baf0 Fix bug handling HTML embedded in a table. 2016-02-10 22:08:50 -08:00
David Anson
9546cc520e Add rule aliases, support throughout (fixes #1). 2016-01-12 21:29:17 -08:00
David Anson
b7342485d9 Update MD013 to allow excluding code and tables. 2016-01-09 22:20:36 -08:00
David Anson
f91e3dafb6 Fix handling of mis-identified setext header. 2016-01-07 21:22:15 -08:00
David Anson
26ab9a5596 MD014 should not warn for empty blocks. 2016-01-04 22:22:35 -08:00
David Anson
fb31bb5f35 Allow exceptions for MD033 "Inline HTML" (fixes #3, fixes #4). 2015-12-15 21:30:37 -08:00
David Anson
31141cc3ed Add support for disabling/enabling rules within Markdown content (fixes #5). 2015-09-26 16:55:33 -07:00
David Anson
c98660c492 Fix bug in MD022 where it could report errors on line 0, add tests. 2015-09-07 14:04:28 -07:00
David Anson
bb0d8a36b3 Update fence logic to handle nested fences (per CommonMark spec; no handling of indentation).
http://spec.commonmark.org/0.22/#fenced-code-blocks
2015-08-27 22:49:59 -07:00
David Anson
fd1215d143 Update MD003 to support setext_with_atx. 2015-07-29 22:17:33 -07:00
David Anson
7f5dd9ab6b Add MD041 with tests. 2015-07-20 22:06:48 -07:00
David Anson
483597c82a Cache result of forEachLine for ~4% time reduction. 2015-06-16 17:50:55 -07:00
David Anson
3e208b7bc5 Add tokenLists and use in filterTokens for ~10% time reduction. 2015-06-12 09:37:11 -07:00
David Anson
096f4d7afd Cache result of flattenLists for ~8% time reduction. 2015-06-11 18:37:34 -07:00
David Anson
2a2371a8cb Remove remaining use of Array.filter from rules. 2015-06-11 18:35:40 -07:00
David Anson
17763331a6 Convert filterTokens from array to callback for ~7% time reduction. 2015-05-29 18:18:20 -07:00
David Anson
6a8f31ddad Fix two bugs with bare list marker handling. 2015-05-03 20:48:07 -07:00
David Anson
31ae415dbe Fix bug in MD039 where links with markup could trigger incorrectly. 2015-04-17 09:15:19 -07:00
David Anson
f1cd4e0fbb Update break-all-the-rules.md for new rules, fix bug in MD033. 2015-04-16 09:39:04 -07:00
David Anson
5d6d9d2b3b Add MD040 with tests. 2015-04-16 09:13:56 -07:00
David Anson
7e431f4499 Add MD038, MD039 with tests. 2015-04-15 18:24:42 -07:00
David Anson
b85e53a9c4 Add MD037 with tests, improve handling of line numbers for inlines. 2015-04-15 17:50:01 -07:00
David Anson
bd7e712728 Add MD036 with tests. 2015-04-14 22:37:56 -07:00
David Anson
762d8425ca Add MD035 with tests. 2015-04-14 09:40:16 -07:00