David Anson
|
7e980401b8
|
Expose shared.js helper code for custom rule authors (fixes #134).
|
2019-04-13 11:18:57 -07:00 |
|
David Anson
|
f614f3e1ce
|
Remove state from shared.js, move to cache.js.
|
2019-04-10 21:26:59 -07:00 |
|
David Anson
|
ec35833751
|
Update dependencies: @types/node to 11.12.0, eslint to 5.15.3, js-yaml to 3.13.0, typescript to 3.3.4000, uglify-js to 3.5.2.
|
2019-03-30 14:36:04 -07:00 |
|
David Anson
|
0184f9d618
|
Deprecate MD002/first-heading-h1 in favor of MD041/first-line-h1 (refs #169).
|
2019-03-12 22:23:12 -07:00 |
|
David Anson
|
3e753636cf
|
Handle case where token map extends beyond last line of input (fixes #166).
|
2019-02-13 19:52:34 -08:00 |
|
David Anson
|
8a175955d7
|
Add options.markdownItPlugins to support using markdown-it plugins when parsing.
|
2019-01-19 12:52:13 -08:00 |
|
David Anson
|
ff86e1d7f1
|
Add optional "information" property to custom rules to provide a link to more information.
|
2019-01-15 21:56:38 -08:00 |
|
David Anson
|
1c816897c1
|
Include file/string name in params object for custom rules (fixes #119).
|
2018-05-25 17:28:56 -07:00 |
|
David Anson
|
101edd8496
|
Add parsers parameter to readConfig/Sync to support non-JSON formats like YAML (fixes #118).
|
2018-05-23 22:24:40 -07:00 |
|
David Anson
|
213aef4564
|
Convert var to const/let (except in browser-only code).
|
2018-04-27 22:05:34 -07:00 |
|
David Anson
|
c7c4c032d1
|
Code review feedback for "header"->"heading" change.
|
2018-04-18 22:28:14 -07:00 |
|
David Anson
|
ff73e822cf
|
Make item loop iterative (vs. recursive) to handle synchronous processing of thousands of items.
|
2018-03-19 21:21:22 -07:00 |
|
David Anson
|
f80b61d8b7
|
Allow empty string for detail/context in onError callback from rules.
|
2018-03-17 22:11:56 -07:00 |
|
David Anson
|
b33acb81d9
|
Remove params.tokenLists to simplify custom rule API.
|
2018-03-01 22:37:37 -08:00 |
|
David Anson
|
7a752784f1
|
Add validation of onError callback object for rules.
|
2018-02-27 21:14:02 -08:00 |
|
David Anson
|
802c81f929
|
Add support for authoring custom rules.
|
2018-02-25 16:04:13 -08:00 |
|
David Anson
|
f24f98e146
|
Add support for using custom rules.
|
2018-02-15 21:35:58 -08:00 |
|
David Anson
|
4619a8c824
|
Refactor to run rule analysis when called, simplify functions.
|
2018-02-05 21:26:07 -08:00 |
|
David Anson
|
fda309df2f
|
Refactor to simplify and generalize rule name handling.
|
2018-02-04 20:27:20 -08:00 |
|
David Anson
|
49e36f817c
|
Remove abbreviations from rule metadata to clarify API.
|
2018-01-18 21:34:30 -08:00 |
|
David Anson
|
f79cdcb0d4
|
Rename rule params.options to .config for API consistency.
|
2018-01-17 20:52:54 -08:00 |
|
David Anson
|
a0e3b4db90
|
Remove regexp from rule definition to simplify API.
|
2018-01-16 21:27:38 -08:00 |
|
David Anson
|
25b6e6f2f3
|
Move error reporting helpers out of core to simplify API for rule.func.
|
2018-01-14 21:53:35 -08:00 |
|
David Anson
|
54c28f47c3
|
Merge rule name/alias in rule definitions and results (for resultVersion 2).
|
2018-01-12 23:21:06 -08:00 |
|
David Anson
|
3cecb86f9b
|
Add "// @ts-check" for better VS Code experience, address corresponding issues.
|
2017-12-15 22:55:51 -08:00 |
|
David Anson
|
f910fa0cb1
|
Add detail to MD029/ol-prefix message to help distinguish 1/1/1 from 1/2/3.
|
2017-11-20 21:49:22 -08:00 |
|
David Anson
|
7acb3d72fd
|
Improve highlighting for MD044/proper-names, add more tests.
|
2017-11-07 21:40:50 -08:00 |
|
David Anson
|
5fee0a921d
|
Improve highlighting for MD038/no-space-in-code, add more tests.
|
2017-10-31 23:05:28 -07:00 |
|
David Anson
|
0211abf1ba
|
Update dependencies: browserify to 14.4.0, eslint to 4.2.0, nodeunit to 0.11.1, uglify-js to 3.0.25.
|
2017-07-17 22:23:00 -07:00 |
|
David Anson
|
0a678d25c1
|
Ignore the content of (valid) HTML comments when linting (fixes #64).
|
2017-07-16 23:08:47 -07:00 |
|
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 |
|