Commit graph

341 commits

Author SHA1 Message Date
David Anson
0bb38faa21 Handle files with front matter only and no trailing newline (fixes #157). 2019-01-07 22:03:10 -08:00
David Anson
7d6635b472 Fix possible null-dereference if RegExp does not match in MD038. 2019-01-07 22:02:58 -08:00
David Anson
4f4dee162c Add TypeScript-Handbook to Examples section. 2018-12-14 21:48:25 -08:00
David Anson
30633915d8 Add Windows/OS X, cache npm, remove sudo false. 2018-12-14 21:23:51 -08:00
Antón Molleda
8455d96fba Replace sonarwhal with webhint
[sonarwhal project got renamed to webhint](https://medium.com/webhint/webhint-a-hinting-engine-for-the-web-ef0d3fa32ea9)
2018-11-25 20:56:52 -08:00
David Anson
a4f541fdf4 Update to version 0.11.0. 2018-07-21 21:47:19 -07:00
David Anson
f0fce5b4b0 Update dependencies: markdown-it to 8.4.2, @types/node to 10.5.2, eslint to 5.2.0, js-yaml to 3.12.0, nodeunit to 0.11.3, typescript to 2.9.2, uglify-js to 3.4.5. 2018-07-21 21:41:24 -07:00
David Anson
23d5be6015 Add simple/concrete example of custom rule package for publishing (fixes #133). 2018-07-20 22:31:41 -07:00
David Anson
183d9c5cb1 Update test file with new cases from Ruby implementation. 2018-07-19 22:00:31 -07:00
David Anson
d76ede1c4f Update MD024/no-duplicate-heading to allow non-sibling duplicates (fixes #136). 2018-07-19 21:49:30 -07:00
David Anson
4865301ce9 Handle multi-line inline code spans better (fixes #130). 2018-07-15 23:05:18 -07:00
David Anson
6afd61ed66 Remove project-relative links. 2018-06-24 20:10:50 -07:00
David Anson
7a467b1dba Fix project-relative links. 2018-06-24 20:08:53 -07:00
David Anson
07396ee456 Fix case of file extension of CONTRIBUTING.md. 2018-06-24 20:04:24 -07:00
David Anson
3fd3f27169 Add CONTRIBUTING.md (fixes #127). 2018-06-24 20:01:44 -07:00
David Anson
4a1e42d942 Allow '0'- and ' '-prefixed ordered list markers in MD005/MD029 (fixes #126). 2018-06-15 22:37:12 -07:00
David Anson
2710c375b3 Update to version 0.10.0. 2018-05-27 21:25:40 -07:00
David Anson
c31b31e5cf Update dependencies: cpy-cli to 2.0.0, uglify-js to 3.3.27. 2018-05-25 17:53:31 -07:00
David Anson
c7f763a076 Enable ESLint rules prefer-rest-params, prefer-spread. 2018-05-25 17:40:36 -07:00
David Anson
5a73fbb100 Merge branch 'nschonni-patch-1' into next 2018-05-25 17:33:46 -07:00
Nick Schonning
e6305dc0b7 docs: Point to markdownlint-rules keyword on NPM 2018-05-25 17:30:41 -07: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
8c87a20677 Add motivation for tags to README.md (fixes #122). 2018-05-24 21:57:32 -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
2b4ecdced8 Update error message validation to handle CRLF and LF-only. 2018-05-20 21:43:55 -07:00
David Anson
11b19f141c Move all readConfig/Sync test files to test/config directory. 2018-05-20 21:37:05 -07:00
David Anson
43a50c4cad Update to version 0.9.0. 2018-05-13 16:41:59 -07:00
David Anson
37e360eca1 Update dependencies: @types/node to 9.6.15, browserify to 16.2.2, eslint to 4.19.1, uglify-js to 3.3.25, remove incompatible @types/node. 2018-05-13 16:29:40 -07:00
David Anson
922bbefd55 Add tests for updated newline regular expression. 2018-04-30 21:43:34 -07:00
David Anson
3e1317709a Update MD009/no-trailing-spaces default configuration to allow 2 spaces for hard break (fixes #114). 2018-04-30 21:34:19 -07:00
David Anson
36dc946f46 Synchronize regular expression for line breaks with markdown-it (fixes #117). 2018-04-29 22:29:03 -07:00
David Anson
072da48add Relax MD041/first-line-h1 to allow blank links above the top level header (fixes #116). 2018-04-29 12:02:47 -07:00
David Anson
017fe127fa Fix issue where escaped trailing hash on header caused MD003 due to incorrect classification. 2018-04-28 14:49:31 -07:00
David Anson
f77b7ae4ec Remove Q dependency, replace with native Promise/promisify. 2018-04-27 22:29:52 -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
78c1af7bfd Add TypeScript to demo build script to output ES3-level code for browsers (fixes #84). 2018-04-26 22:21:23 -07:00
David Anson
85e6e7a183 Convert devDependencies from ^ to ~. 2018-04-25 21:14:20 -07:00
David Anson
18125a1872 Add new Node.js version 10, remove end-of-life versions 0.10, 0.12, 4. 2018-04-25 21:10:19 -07:00
David Anson
f4f4728e2c Merge branch 'levacic/header-to-heading' into next 2018-04-19 22:38:54 -07:00
David Anson
c7c4c032d1 Code review feedback for "header"->"heading" change. 2018-04-18 22:28:14 -07:00
Milos Levacic
45424cf459 Change "header" to "heading" across the library
This should be backward compatible, as all "header" aliases are still
available, though documented as discouraged for future use.
2018-04-18 22:27:48 -07:00
David Anson
e938f421a9 Update to version 0.8.1. 2018-03-20 20:45:45 -07:00
David Anson
09251447d1 Update dependencies: eslint to 4.19.0, uglify-js to 3.3.16. 2018-03-19 21:26:51 -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
Guillaume ARM
b3f0d76a67 Add a link to linter-node-markdownlint
linter-node-markdownlint extension for Atom
2018-03-16 17:55:06 -07:00
David Anson
5dcdb55952 Update to version 0.8.0. 2018-03-10 21:46:52 -08:00
David Anson
621400447d Update dependencies: markdown-it to 8.4.1, @types/node to 9.4.7, browserify to 16.1.1, eslint to 4.18.2, uglify-js to 3.3.13. 2018-03-09 22:58:54 -08:00
David Anson
c9571607dc Convert to code fences in Rules.md and tag all as "markdown". 2018-03-09 22:50:01 -08:00
David Anson
7310d01fea Add "engines" field to package.json. 2018-03-06 21:49:16 -08:00