Commit graph

142 commits

Author SHA1 Message Date
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
David Anson
9acbb2750e Add br_spaces parameter to MD009. 2015-04-14 09:07:25 -07:00
David Anson
0e24df7cf7 Add MD034 with tests, improve validation of README and Rules. 2015-04-14 00:01:57 -07:00
David Anson
495fbac6fd Add MD033 with tests, rename test file. 2015-04-13 08:47:15 -07:00
David Anson
c764d2798f Update markdown-it dependency to 4.0.1, fix breaking changes. 2015-03-18 23:14:44 -07:00
David Anson
747e3c31b9 Add tests for docs and styles, add missing tag. 2015-03-17 22:34:47 -07:00
David Anson
0bd6dea637 Add tags to README.md, new test and fix, comment rule code. 2015-03-16 22:31:18 -07:00
David Anson
285a30e124 Add MD026, MD027 with tests. 2015-03-11 18:40:46 -07:00
David Anson
1112ac729d Add MD023, MD024, MD025 with tests. 2015-03-11 09:30:34 -07:00
David Anson
2b289ab5f3 Add MD030 with tests, refactor list handling with flattenLists. 2015-03-10 23:10:06 -07:00
David Anson
b21548a992 Add passing tests, refactor to introduce forEachLine. 2015-03-09 00:31:07 -07:00
David Anson
9bedd25234 Add MD022 with tests, create shared module. 2015-03-08 23:09:05 -07:00
David Anson
5591cf4587 Add MD029 with tests. 2015-03-07 22:46:45 -08:00
David Anson
35067149c9 Add MD020, MD021 with tests. 2015-03-06 18:16:16 -08:00
David Anson
d0fcd32f3a Add MD018, MD019 with tests, switch to RegExp.test. 2015-03-06 09:21:55 -08:00
David Anson
62314e61b1 Add MD014 with tests. 2015-03-05 23:30:01 -08:00
David Anson
434c7f388c Add MD013 with tests. 2015-03-04 18:36:30 -08:00
David Anson
5d641bbf24 Refactor rules for clarity/brevity. 2015-03-04 18:23:19 -08:00
David Anson
c864ac1b96 Add MD012, MD028 with tests, support multiple markers by line. 2015-03-04 18:09:46 -08:00
David Anson
f35d690fb1 Add MD011 with tests, pass empty env to markdown-it.parse. 2015-03-03 18:28:59 -08:00
David Anson
812f5bdfff Add MD006, MD009, MD010 with tests. 2015-03-03 09:29:13 -08:00
David Anson
e366ee071c Add line and number to token, refactor to simplify rules. 2015-03-02 23:52:39 -08:00
David Anson
9eb3eb9083 Add MD005, MD007 with tests. 2015-03-02 23:30:40 -08:00
David Anson
2da9462e45 Add MD004 with tests, support disabling rules. 2015-03-01 22:56:52 -08:00
David Anson
a2d42b6208 Add MD003 with tests, add JSON config for rules. 2015-02-27 22:06:54 -08:00
David Anson
75b63a43ab Add MD001 with test, refactor to remove common code. 2015-02-25 18:19:36 -08:00
David Anson
82caaa9407 Add MD002 with test, incorporate markdown-it parser. 2015-02-25 18:00:08 -08:00
David Anson
5d35b8dfea Change export of rules to include description. 2015-02-24 23:50:37 -08:00
David Anson
aef1524308 Add MD032 with tests, improve infrastructure. 2015-02-24 23:36:48 -08:00
David Anson
160146ac3a Hook up ESLint, fix warnings (including conversion to async I/O). 2015-02-24 23:36:47 -08:00
David Anson
d16e1cafc1 Add basic infrastructure, MD031, and test. 2015-02-24 23:36:23 -08:00