Commit graph

66 commits

Author SHA1 Message Date
KitoW
a977d0dcbc Add MD047/single-trailing-newline for enforcing new lines at the end of file (fixes #89). 2019-04-19 20:13:07 -07:00
David Anson
0af999e218 Implement rule MD046/code-block-style from Ruby version. 2019-04-17 14:42:17 -07:00
David Anson
7e980401b8 Expose shared.js helper code for custom rule authors (fixes #134). 2019-04-13 11:18:57 -07:00
David Anson
d7c0d195d7 Update MD013/line-length with heading_line_length parameter (fixes #170). 2019-03-26 22:34:19 -07:00
David Anson
fa04d29485 Enhance MD022/blanks-around-headings with lines_above/lines_below parameters (fixes #143). 2019-03-24 21:50:56 -07:00
David Anson
61d6311a3e Add front_matter_title parameter to MD025/single-title/single-h1 (refs #169). 2019-03-16 20:21:57 -07:00
David Anson
050cbbba82 Add name first-line-heading to MD041 for clarity (refs #169). 2019-03-13 21:39:15 -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
c71bb4fbd5 Update MD041/first-line-h1 to allow secondary headings if a YAML title is present (refs #116). 2019-03-10 22:10:33 -07:00
David Anson
ed295cd947 Add style "zero" to MD029/ol-prefix (fixes #140). 2019-03-06 21:57:19 -08:00
David Anson
4d436be500 Add other example repositories for custom rules. 2019-03-03 21:35:20 -08:00
David Anson
90bd0810e7 Update copyright year to 2019, all HTTP links to HTTPS. 2019-02-10 11:38:01 -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
23d5be6015 Add simple/concrete example of custom rule package for publishing (fixes #133). 2018-07-20 22:31:41 -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
4a1e42d942 Allow '0'- and ' '-prefixed ordered list markers in MD005/MD029 (fixes #126). 2018-06-15 22:37:12 -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
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
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
c9571607dc Convert to code fences in Rules.md and tag all as "markdown". 2018-03-09 22:50:01 -08:00
David Anson
942cc9af08 Use "markdown" for syntax highlighting on GitHub ("md" not recognized). 2018-03-03 22:22:02 -08:00
David Anson
08c8031736 Add documentation for authoring custom rules. 2018-03-03 22:15:49 -08:00
David Anson
f24f98e146 Add support for using custom rules. 2018-02-15 21:35:58 -08:00
David Anson
f91f0880c3 Refine implementation of MD045/no-alt-text in previous commit. 2018-01-06 18:06:32 -08:00
Duncan Mackenzie
4fa837a031 Add MD045/no-alt-text (fixes #75). 2018-01-06 15:55:59 -08:00
David Anson
39d39db961 Add style one_or_ordered to MD029/ol-prefix (fixes #97). 2017-12-12 22:41:11 -08:00
Henrik Enggaard
3834cc4c9c Misspelling in MD003 2017-09-06 09:35:37 +02:00
David Anson
d826833a82 Allow opt-out for list items with blank lines in MD009/no-trailing-spaces (fixes #55). 2017-05-11 21:44:41 -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
31c252a55c Add code_blocks parameter to MD044/proper-names (fixes #50). 2017-03-18 19:47:26 -07:00
David Anson
f30452619c Merge branch 'next' 2017-03-03 23:03:16 -08:00
David Anson
acd36d5802 Update MD041/first-line-h1 to ignore leading HTML comments (fixes #37). 2017-02-23 22:08:54 -08:00
David Anson
31206f9387 Reimplement MD038/no-space-in-code to handle multi-backtick strings (fixes #46). 2017-02-18 22:56:06 -08:00
David Anson
00171da565 Add headers parameter to MD013/line-length (fixes #35). 2017-02-11 16:20:24 -08:00
Jan Aagaard
bba5cfd063 Use double quotes in JSON example 2017-01-29 09:50:53 +01:00
David Anson
d8975282dc Add MD044 proper-names "Proper names should have the correct capitalization" (fixes #39). 2016-12-22 13:40:31 -08:00
David Anson
affd94e061 Add maximum parameter to MD012/no-multiple-blanks (fixes #27). 2016-10-03 21:42:44 -07:00
David Anson
a2df7742c6 Add code_blocks parameter to MD010 to ignore hard tabs in code blocks (fixes #31). 2016-09-29 21:25:10 -07:00
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
7a1773ea77 Add "sublist" style to MD004 (fixes #21). 2016-07-04 14:32:40 -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
efe9c9e73c MD007 shouldn't apply to sublists of ordered lists, test and document MD006 behavior (fixes #20). 2016-06-26 11:56:48 -07:00
David Anson
83639b8ef8 Add support to MD011 for Markdown Extra-style footnotes (fixes #18). 2016-06-24 23:13:00 -07:00
David Anson
624ae4952b Add mention of CommonMark to project description (fixes #15). 2016-03-11 21:36:39 -08:00
Christopher Lopes
d06681198a Conform to style guidelines in setext_with_atx_closed feature
Indentation was off in logic. Also update documentation grammar
appropriately.
2016-02-24 19:32:35 -08:00