Commit graph

51 commits

Author SHA1 Message Date
Sébastien Règne
72439f42c6
Update MD040/fenced-code-language to add language_only parameter to reject extra data in info string. 2022-11-10 22:07:04 -08:00
Mateus Ferreira
37f74ee958
Update MD043/required-headings to add match_case parameter (fixes #613). 2022-10-22 00:15:50 -07:00
Sam Chen
01ba757d3a
Update MD040/fenced-code-language to add allowed_languages parameter (fixes #610). 2022-10-17 12:29:29 -07:00
Nick Schonning
b5660eae7e
doc: clarify description for MD026 punctuation (#587) 2022-09-23 08:00:07 -07:00
David Anson
4c00ffa2f0 Fix new violations from eslint-plugin-unicorn update. 2022-08-15 21:20:27 -07:00
David Anson
a6489acd6b Update MD053/link-image-reference-definitions to add ignored_definitions parameter (default to ["//"]) (fixes #545). 2022-08-02 20:36:47 -07:00
David Anson
b6471fba31 Enable ESLint rule unicorn/no-array-for-each, auto-fix all violations, manually address new issues for ~4% time reduction measured via profile-fixture.mjs on Apple Silicon M1. 2022-06-08 22:10:27 -07:00
David Anson
b447c809bd Update MD010/no-hard-tabs to add ignore_code_languages parameter (fixes #383). 2022-04-28 21:09:06 -07:00
David Anson
0f845e9ba1 Update MD044/proper-names to add html_elements parameter (fixes #435). 2022-04-25 21:50:33 -07:00
EmilySeville7cfg
245791f79f Improve JSON schema (fixes #493). 2022-01-24 21:00:36 -08:00
David Anson
517eb42015 Update MD007/ul-indent to support start_indent parameter (fixes #337, closes #397). 2021-12-13 21:49:43 -08:00
Sébastien Règne
39724b991a
Add MD049/emphasis-style (fixes #150). 2021-10-23 21:54:58 -07:00
Sébastien Règne
ab9e5875a2
Add MD050/strong-style (fixes #150). 2021-10-20 21:42:48 -07:00
per1234
77d0105b4a
Correct typo in JSON schema type keyword (#406) 2021-06-15 12:33:55 -07:00
Bryan Jenks
9122b8d935
Typo Correction. (#395) 2021-05-14 08:45:14 -07:00
Yash Singh
47ff95e8d2
Add spaces_per_tab parameter to MD010/no-hard-tabs (fixes #384). (#385) 2021-04-09 16:33:01 -07:00
David Anson
5b7e9b87be Generate example JSONC configuration with all properties set to their default value. 2021-01-19 20:41:04 -08:00
David Anson
6c1bc8ecb5 Allow question mark by default for MD026/no-trailing-punctuation (fixes #276). 2020-11-17 20:32:17 -08:00
David Anson
aafd0830a2 Enable reportUnusedDisableDirectives for ESLint, address new warning. 2020-10-20 19:56:16 -07:00
David Anson
6061cce169 Allow unknown (custom) rule names in .markdownlint.json schema. 2020-09-15 21:48:00 -07:00
David Anson
0acc578e52 Update remaining references to refer to main branch as "main". 2020-08-11 22:52:29 -07:00
David Anson
de86a26e4e Update MD013/line-length to support stern parameter (fixes #256). 2020-03-22 14:06:29 -07:00
Jeremy Thomerson
9aeddedb7d Allow for first level indentation of lists in MD007/ul-indent (fixes #242). 2020-01-01 12:53:03 -08:00
David Anson
b39e5e309e Update MD013/line-length to include strict mode (fixes #237). 2019-12-12 21:22:45 -08:00
David Anson
6f3c67f760 Update MD009/no-trailing-spaces to include strict mode (fixes #216). 2019-12-09 22:05:57 -08:00
David Anson
37307d0764 Add @ts-check to JS files without it, address resulting issues. 2019-10-30 20:37:06 -07:00
David Anson
eacfa6142b Allow "$schema" field in .markdownlint.json schema (fixes #227). 2019-10-25 14:45:32 -07:00
Marius Lichtblau
e9b3cc4c18 Add fenced code block style rule (#224) (fixes #223). 2019-10-24 20:26:27 -07:00
David Anson
c5b74d22b9 Update MD031/blanks-around-fences to include list_items parameter (fixes #200). 2019-08-02 22:58:41 -07:00
David Anson
64351f73be Update MD013/line-length with new code_block_line_length parameter (fixes #184). 2019-06-07 19:57:15 -07:00
David Anson
1d8b9e7e62 Add full-width punctuation characters to MD026/no-trailing-punctuation and MD036/no-emphasis-as-heading (fixes #192). 2019-06-06 22:21:31 -07:00
David Anson
0af999e218 Implement rule MD046/code-block-style from Ruby version. 2019-04-17 14:42:17 -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
ed295cd947 Add style "zero" to MD029/ol-prefix (fixes #140). 2019-03-06 21:57:19 -08: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
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
213aef4564 Convert var to const/let (except in browser-only code). 2018-04-27 22:05:34 -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
49e36f817c Remove abbreviations from rule metadata to clarify API. 2018-01-18 21:34:30 -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
39d39db961 Add style one_or_ordered to MD029/ol-prefix (fixes #97). 2017-12-12 22:41:11 -08:00
David Anson
0c38635afe Add TOML title syntax to MD041/first-line-h1 default RegExp (fixes #77). 2017-10-24 22:15:03 -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
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
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
00171da565 Add headers parameter to MD013/line-length (fixes #35). 2017-02-11 16:20:24 -08: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