Commit graph

248 commits

Author SHA1 Message Date
David Anson
fdeeddc99d Update code/tests with latest functionality in Ruby markdownlint. 2016-09-24 16:15: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
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
0832793497 Add test that parses all Markdown files to find crashes. 2016-02-12 22:16:12 -08:00
David Anson
1e23d035ce Handle non-Array inputs for options.files. 2016-01-15 22:00:34 -08:00
David Anson
3e642bc03b Add "Related" section to README. 2016-01-15 21:41:11 -08:00
David Anson
9546cc520e Add rule aliases, support throughout (fixes #1). 2016-01-12 21:29:17 -08:00
David Anson
410da18a2c Add test to verify parameters in docs match code. 2015-12-13 21:42:51 -08:00
David Anson
7af794bb21 Update eslint dependency to 1.5.1, update code for new rules. 2015-09-26 22:22:22 -07: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
071bba88fc Handle mixed case for config keys. 2015-09-21 23:21:17 -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
a467f8b3e6 Automatically ignore common front matter; provide option for customization (fixes #2). 2015-07-25 22:18:30 -07:00
David Anson
a958a33860 Fix possible array-out-of-bounds access, add test. 2015-07-22 23:17:08 -07:00
David Anson
7f5dd9ab6b Add MD041 with tests. 2015-07-20 22:06:48 -07:00
David Anson
85531ff21e Add polyfills for String.trimLeft/Right for browsers without support. 2015-05-07 17:53:43 -07:00
David Anson
43f28b90c1 Add test to simulate typing each test file to validate handling of partial input. 2015-05-07 17:42:13 -07:00
David Anson
dab36c5afa Add '\r' to line ending test, install through2 for example script. 2015-05-02 17:41:41 -07:00
David Anson
548e3d35cb Add strings option to enable file-less scenarios. 2015-04-29 18:49:27 -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
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
e557f3a97f Add synchronous version of the API, with tests and documentation. 2015-03-20 00:09:55 -07:00
David Anson
200dddf3d1 Update eslint dependency to 0.17.1, enable new rules. 2015-03-18 23:41:34 -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
e305d22cce Undefined config.default should behave like true. 2015-03-18 22:45:51 -07:00
David Anson
747e3c31b9 Add tests for docs and styles, add missing tag. 2015-03-17 22:34:47 -07:00
David Anson
6ef5794927 Add tests for style files, sort expected test output for debugging. 2015-03-17 18:02:05 -07:00
David Anson
139e474a12 Add support and tests for tags, migrate style files. 2015-03-16 23:25:06 -07:00
David Anson
63a52e9dea Document public API, comment framework code. 2015-03-15 23:39:17 -07:00
David Anson
9917d7f2fb Add example, stop modifying files array, rename "styles". 2015-03-13 18:20:56 -07:00
David Anson
d3e9f83e7c Format results via toString, add test to verify. 2015-03-13 09:13:07 -07:00
David Anson
f6d0986cc5 Add README.md, Rules.md, test for project files. 2015-03-12 23:42:06 -07:00
David Anson
77da8da9cf Add Istanbul for code coverage, parameter tests for 100% coverage. 2015-03-11 21:13:21 -07:00
David Anson
9bedd25234 Add MD022 with tests, create shared module. 2015-03-08 23:09:05 -07:00
David Anson
62314e61b1 Add MD014 with tests. 2015-03-05 23:30:01 -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
d2e38c1646 Use Q/promises to remove callback nesting from test harness. 2015-03-01 22:15:02 -08:00
David Anson
a2d42b6208 Add MD003 with tests, add JSON config for rules. 2015-02-27 22:06:54 -08:00
David Anson
82caaa9407 Add MD002 with test, incorporate markdown-it parser. 2015-02-25 18:00:08 -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