From eba3e4279bbb56439ccbc88790a9032a6f5b3fd2 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Tue, 27 Jan 2026 11:00:04 -0600 Subject: [PATCH 1/2] Update markdownlint rules --- .markdownlint.yaml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.markdownlint.yaml b/.markdownlint.yaml index a794811..1e29990 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,24 +1,11 @@ -docsmd.alert: true -docsmd.codesnippet: true -docsmd.column: true -docsmd.image: true -docsmd.moniker: true -docsmd.no-loc: true -docsmd.row: true -docsmd.securelinks: true -docsmd.syntax: true -docsmd.video: true -docsmd.xref: true -docsmd.zone: true - MD001: true # header-increment -# MD002 # first-header-h1 - Superceded by MD041 +# MD002 # first-header-h1 - Superseded by MD041 MD003: # header-style style: atx MD004: # ul-style style: dash MD005: true # list-indent -# MD006 # ul-start-left - Superceded by MD007's start_indented option +# MD006 # ul-start-left - Superseded by MD007 MD007: # ul-indent indent: 2 start_indented: false @@ -115,3 +102,20 @@ MD050: # strong-style MD051: true # link-fragments MD052: true # reference-links-images MD053: true # link-image-reference-definitions +MD054: # link-image-style + autolink: false # Allow autolinks (default true) + collapsed: false # Allow collapsed reference links and images (default true) + full: true # Allow full reference links and images (default true) + inline: true # Allow inline links and images (default true) + shortcut: false # Allow shortcut reference links and images (default true) + url_inline: true # Allow URLs as inline links (default true) +MD055: # table-pipe-style + style: leading_and_trailing +MD056: true # table-column-count +# MD057: # not used by linter - never defined +MD058: true # blanks-around-tables +MD059: # descriptive-link-text + prohibited_texts: ["click here","here","link","more"] +MD060: # table-column-style + aligned_delimiter: false + style: any From a9a375a9fe9a92df8602d2c086b44f0fae1b0768 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Tue, 27 Jan 2026 11:08:47 -0600 Subject: [PATCH 2/2] Update json config to match --- .markdownlint.json | 172 ++++++++++++++++++++++++--------------------- 1 file changed, 92 insertions(+), 80 deletions(-) diff --git a/.markdownlint.json b/.markdownlint.json index cc5c8d2..c23d385 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,42 +1,24 @@ { - "blanks-around-fences": true, - "blanks-around-headers": true, - "blanks-around-lists": true, - "code-block-style": { - "style": "fenced" - }, - "code-fence-style": { - "style": "backtick" - }, - "commands-show-output": true, - "docsmd.alert": true, - "docsmd.codesnippet": true, - "docsmd.column": true, - "docsmd.image": true, - "docsmd.moniker": true, - "docsmd.no-loc": true, - "docsmd.row": true, - "docsmd.securelinks": true, - "docsmd.syntax": true, - "docsmd.video": true, - "docsmd.xref": true, - "docsmd.zone": true, - "emphasis-style": { - "style": "underscore" + "MD001": true, + "MD003": { + "style": "atx" }, - "fenced-code-language": false, - "first-line-h1": { - "front_matter_title": "" + "MD004": { + "style": "dash" }, - "header-increment": true, - "header-start-left": true, - "header-style": { - "style": "atx" + "MD005": true, + "MD007": { + "indent": 2, + "start_indented": false }, - "hr-style": { - "style": "---" + "MD009": { + "br_spaces": 2, + "strict": true }, - "line-length": { + "MD010": true, + "MD011": true, + "MD012": true, + "MD013": { "code_block_line_length": 90, "code_blocks": true, "heading_line_length": 100, @@ -45,18 +27,32 @@ "stern": true, "tables": false }, - "list-indent": true, - "list-marker-space": true, - "no-alt-text": true, - "no-bare-urls": true, - "no-blanks-blockquote": true, - "no-duplicate-header": { + "MD014": true, + "MD018": true, + "MD019": true, + "MD020": true, + "MD021": true, + "MD022": true, + "MD023": true, + "MD024": { "siblings_only": true }, - "no-emphasis-as-header": true, - "no-empty-links": true, - "no-hard-tabs": true, - "no-inline-html": { + "MD025": { + "front_matter_title": "", + "level": 1 + }, + "MD026": { + "punctuation": ".,;:!。,;:!?" + }, + "MD027": true, + "MD028": true, + "MD029": { + "style": "one" + }, + "MD030": true, + "MD031": true, + "MD032": true, + "MD033": { "allowed_elements": [ "a", "br", @@ -69,27 +65,21 @@ "ul" ] }, - "no-missing-space-atx": true, - "no-missing-space-closed-atx": true, - "no-multiple-blanks": true, - "no-multiple-space-atx": true, - "no-multiple-space-blockquote": true, - "no-multiple-space-closed-atx": true, - "no-reversed-links": true, - "no-space-in-code": true, - "no-space-in-emphasis": true, - "no-space-in-links": true, - "no-trailing-punctuation": { - "punctuation": ".,;:!。,;:!?" - }, - "no-trailing-spaces": { - "br_spaces": 2, - "strict": true + "MD034": true, + "MD035": { + "style": "---" }, - "ol-prefix": { - "style": "one" + "MD036": true, + "MD037": true, + "MD038": true, + "MD039": true, + "MD040": false, + "MD041": { + "front_matter_title": "" }, - "proper-names": { + "MD042": true, + "MD043": false, + "MD044": { "code_blocks": false, "names": [ "PowerShell", @@ -109,24 +99,46 @@ "Newtonsoft" ] }, - "required-headers": false, - "single-h1": { - "front_matter_title": "", - "level": 1 + "MD045": true, + "MD046": { + "style": "fenced" }, - "single-trailing-newline": true, - "strong-style": { - "style": "asterisk" + "MD047": true, + "MD048": { + "style": "backtick" }, - "ul-indent": { - "indent": 2, - "start_indented": false + "MD049": { + "style": "underscore" }, - "ul-start-left": true, - "ul-style": { - "style": "dash" + "MD050": { + "style": "asterisk" + }, + "MD051": true, + "MD052": true, + "MD053": true, + "MD054": { + "autolink": false, + "collapsed": false, + "full": true, + "inline": true, + "shortcut": false, + "url_inline": true + }, + "MD055": { + "style": "leading_and_trailing" + }, + "MD056": true, + "MD058": true, + "MD059": { + "prohibited_texts": [ + "click here", + "here", + "link", + "more" + ] }, - "link-fragments": true, - "reference-links-images": true, - "link-image-reference-definitions": true -} + "MD060": { + "aligned_delimiter": false, + "style": "any" + } +} \ No newline at end of file