Commit graph

46 commits

Author SHA1 Message Date
David Anson
8c34383f80 Change default value of options.resultVersion to 1 (breaking change). 2017-07-05 21:53:21 -07:00
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
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
942f0600d2 Support front matter title property override for MD041/first-line-h1 (fixes #53). 2017-05-06 15:25:14 -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
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
0ca8bc7bb6 Add options.resultVersion for more detailed error reporting (fixes #23). 2016-10-23 21:30:31 -07:00
David Anson
c668c7c6a9 Update eslint configuration to latest format/rules. 2016-07-05 00:06:48 -07:00
David Anson
e60e16baf0 Fix bug handling HTML embedded in a table. 2016-02-10 22:08:50 -08:00
David Anson
1e23d035ce Handle non-Array inputs for options.files. 2016-01-15 22:00:34 -08:00
David Anson
9546cc520e Add rule aliases, support throughout (fixes #1). 2016-01-12 21:29:17 -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
a467f8b3e6 Automatically ignore common front matter; provide option for customization (fixes #2). 2015-07-25 22:18:30 -07:00
Rodney Rehm
cae451967a feature(config): adding config.ignore to replace metadata (e.g. frontmatter) before linting 2015-07-22 23:18:08 -07:00
David Anson
a958a33860 Fix possible array-out-of-bounds access, add test. 2015-07-22 23:17:08 -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
548e3d35cb Add strings option to enable file-less scenarios. 2015-04-29 18:49:27 -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
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
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
139e474a12 Add support and tests for tags, migrate style files. 2015-03-16 23:25:06 -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
63a52e9dea Document public API, comment framework code. 2015-03-15 23:39:17 -07:00
David Anson
3217272971 Update README.md with rules and examples. 2015-03-14 22:34:28 -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
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
f35d690fb1 Add MD011 with tests, pass empty env to markdown-it.parse. 2015-03-03 18:28:59 -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
5d9b32e8dc Add "default" rule to config, use to simplify JSON styles. 2015-03-02 22:45:43 -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