Commit graph

823 commits

Author SHA1 Message Date
David Anson
614ac8fa23 Add noInlineConfig option to disable inline config comments. 2017-05-21 22:58:10 -07:00
David Anson
7528295cae Add support for shareable/extendable configuration via "extends" and helper functions (fixes #33). 2017-05-19 22:36:46 -07:00
David Anson
d826833a82 Allow opt-out for list items with blank lines in MD009/no-trailing-spaces (fixes #55). 2017-05-11 21:44:41 -07:00
David Anson
b436640918 Add short links to each rule in Rules.md, update README.md to use them (fixes #54). 2017-05-07 12:48:04 -07:00
David Anson
da529ac286 Fix bug in detailed error message for MD030/list-marker-space when no space present (fixes #57). 2017-05-06 21:56:24 -07:00
David Anson
942f0600d2 Support front matter title property override for MD041/first-line-h1 (fixes #53). 2017-05-06 15:25:14 -07:00
David Anson
7b01fc5fbf Add new test file from Ruby implementation. 2017-04-29 21:57:22 -07:00
David Anson
31c252a55c Add code_blocks parameter to MD044/proper-names (fixes #50). 2017-03-18 19:47:26 -07:00
David Anson
15fe91ba38 Update MD044/proper-names to ignore violations in bare URLs (fixes #50). 2017-03-17 20:08:57 -07:00
David Anson
935935b96c Update MD044/proper-names to ignore non-text content like link targets. 2017-03-16 22:07:25 -07:00
David Anson
1b44ed54e4 Account for front matter when calculating range for resultVersion 1 (fixes #48). 2017-03-14 21:58:39 -07:00
David Anson
5a1fb40871 Ignore escaped backticks in code span elements per specification. 2017-03-13 21:29:24 -07:00
David Anson
0c1f40323d Update MD013/line-length not to report long link-only lines (fixes #36). 2017-03-01 21:43:04 -08:00
David Anson
acd36d5802 Update MD041/first-line-h1 to ignore leading HTML comments (fixes #37). 2017-02-23 22:08:54 -08:00
David Anson
31206f9387 Reimplement MD038/no-space-in-code to handle multi-backtick strings (fixes #46). 2017-02-18 22:56:06 -08:00
David Anson
00171da565 Add headers parameter to MD013/line-length (fixes #35). 2017-02-11 16:20:24 -08:00
David Anson
16dc230d54 Tweak range of MD042/no-empty-links to include link destination. 2017-01-15 15:14:41 -08:00
David Anson
5fa065a7b0 Update MD032/blanks-around-lists to ignore non-interrupting prefixes (fixes #34). 2017-01-15 14:41:58 -08:00
David Anson
d8975282dc Add MD044 proper-names "Proper names should have the correct capitalization" (fixes #39). 2016-12-22 13:40:31 -08:00
David Anson
46cbcfa55e Rename test case files to allow for additional rules. 2016-12-22 13:35:58 -08:00
David Anson
74bd9b6e5b Fix MD038 to handle text matches outside code span elements. 2016-11-10 20:57:13 -08:00
David Anson
0f64bd5b4e Fix MD032 to recognize blank lines around lists in block quotes. 2016-11-03 22:16:03 -07:00
David Anson
ba3614868b Update dependency: eslint to 3.9.1. 2016-11-02 22:09:16 -07:00
David Anson
f077e4c393 Remove UTF-8 byte order marker from file/string input. 2016-11-01 22:39:19 -07:00
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
557c5942ea Extract long-running "stress" tests from core test suite (no loss of coverage). 2016-10-06 21:44:39 -07:00
David Anson
3e2d1df072 Remove use of string.endsWith by test to failure on Node 0.10/0.12. 2016-10-05 22:43:14 -07:00
David Anson
93c1867f23 Generate and include JSON schema for options.config (fixes #25). 2016-10-05 22:21:54 -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
David Anson
0c68509266 Update new tests to preserve '_' for tests from Ruby and '-' for tests only in Node. 2016-09-10 14:46:35 -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
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
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
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
0832793497 Add test that parses all Markdown files to find crashes. 2016-02-12 22:16:12 -08:00