From 56cd1770eafa2895a7e0cb5b22a45df443e6e354 Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 10:48:46 -0500 Subject: [PATCH 1/9] Include ignore in config --- .markdownlint.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.markdownlint.json b/.markdownlint.json index dd39775..a14d11b 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -4,5 +4,9 @@ "MD013": false, "MD026": { "punctuation": ".,;:" }, "MD040": false, - "MD046": false + "MD046": false, + "ignores": [ + "docs/wiki-guide/HF_*_Template*.md", + "mkdocs.yaml" + ] } From 34e983380bbdc5cbc1c29137cb14c6dbb9862b47 Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 10:50:01 -0500 Subject: [PATCH 2/9] test: template that should be ignored --- docs/wiki-guide/HF_test_Template.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docs/wiki-guide/HF_test_Template.md diff --git a/docs/wiki-guide/HF_test_Template.md b/docs/wiki-guide/HF_test_Template.md new file mode 100644 index 0000000..484b0dd --- /dev/null +++ b/docs/wiki-guide/HF_test_Template.md @@ -0,0 +1,4 @@ +###Testing +hopefully it ignores this + +This [Shouldn't]matter From 79a2c8258a59049e84ded1d13f84563a4eeb08a9 Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 10:52:00 -0500 Subject: [PATCH 3/9] Specifically ignore files in lint.yaml --- .github/workflows/lint.yaml | 3 +++ .markdownlint.json | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d439c69..6999602 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -21,6 +21,9 @@ jobs: id: changed-files with: files: '**/*.md' + files_ignore: | + docs/wiki-guide/HF_*_Template*.md + mkdocs.yaml separator: "," # This runs the linter ONLY on the files identified above diff --git a/.markdownlint.json b/.markdownlint.json index a14d11b..dd39775 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -4,9 +4,5 @@ "MD013": false, "MD026": { "punctuation": ".,;:" }, "MD040": false, - "MD046": false, - "ignores": [ - "docs/wiki-guide/HF_*_Template*.md", - "mkdocs.yaml" - ] + "MD046": false } From ab019cfe79487dfbc3ea107d869c7130cc72ebaa Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 10:53:55 -0500 Subject: [PATCH 4/9] test: Remove test file --- docs/wiki-guide/HF_test_Template.md | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 docs/wiki-guide/HF_test_Template.md diff --git a/docs/wiki-guide/HF_test_Template.md b/docs/wiki-guide/HF_test_Template.md deleted file mode 100644 index 484b0dd..0000000 --- a/docs/wiki-guide/HF_test_Template.md +++ /dev/null @@ -1,4 +0,0 @@ -###Testing -hopefully it ignores this - -This [Shouldn't]matter From f2b5e8e7c9e0e0bb2a074d8481bc6d9ce4898233 Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 13:02:40 -0500 Subject: [PATCH 5/9] test: ensure config file is working with test md file --- test.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test.md diff --git a/test.md b/test.md new file mode 100644 index 0000000..2ae09b3 --- /dev/null +++ b/test.md @@ -0,0 +1,25 @@ +# Test File for Markdownlint Config + +## Rule MD007: Indentation (Should allow 4 spaces) +* Level 1 + * Level 2 (This uses 4 spaces. If the linter errors, the config isn't working.) + +## Rule MD013: Line Length (Should be ignored) +This is an incredibly long line of text that exceeds the default 80-character limit usually enforced by markdownlint. Because MD013 is set to false, this line should not trigger any warnings or errors regardless of how long it gets. + +## Rule MD026: Trailing Punctuation (Should allow only specific marks) +### This header ends with a period. +### This header ends with a question mark? +### This header ends with an exclamation point! + +## Rule MD040: Fenced Code Language (Should be ignored) +``` +This code block has no language specified. Normally, this triggers a warning, but it should be ignored now. +``` + +## Rule MD046: Code Block Style (Should be ignored) + This is an indented code block (4 spaces). + Normally, markdownlint prefers fenced blocks (```), but this should be ignored. + +## Hard Tabs (Should be allowed) +* This line uses a hard tab after the bullet point instead of a space. From 2de73e76cea025aa07c294569040bab6892d5cbb Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 13:06:28 -0500 Subject: [PATCH 6/9] test: fix extra errors in the test md file --- test.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test.md b/test.md index 2ae09b3..f3b00ce 100644 --- a/test.md +++ b/test.md @@ -1,25 +1,32 @@ # Test File for Markdownlint Config + ## Rule MD007: Indentation (Should allow 4 spaces) + * Level 1 * Level 2 (This uses 4 spaces. If the linter errors, the config isn't working.) ## Rule MD013: Line Length (Should be ignored) + This is an incredibly long line of text that exceeds the default 80-character limit usually enforced by markdownlint. Because MD013 is set to false, this line should not trigger any warnings or errors regardless of how long it gets. ## Rule MD026: Trailing Punctuation (Should allow only specific marks) + ### This header ends with a period. ### This header ends with a question mark? ### This header ends with an exclamation point! ## Rule MD040: Fenced Code Language (Should be ignored) + ``` This code block has no language specified. Normally, this triggers a warning, but it should be ignored now. ``` ## Rule MD046: Code Block Style (Should be ignored) + This is an indented code block (4 spaces). Normally, markdownlint prefers fenced blocks (```), but this should be ignored. ## Hard Tabs (Should be allowed) + * This line uses a hard tab after the bullet point instead of a space. From 208aa932c7837be5fa3c993c6d61f09b68c14a51 Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 13:09:31 -0500 Subject: [PATCH 7/9] test: fix un-intended errors in test file --- test.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test.md b/test.md index f3b00ce..28742b2 100644 --- a/test.md +++ b/test.md @@ -1,6 +1,5 @@ # Test File for Markdownlint Config - ## Rule MD007: Indentation (Should allow 4 spaces) * Level 1 @@ -12,8 +11,8 @@ This is an incredibly long line of text that exceeds the default 80-character li ## Rule MD026: Trailing Punctuation (Should allow only specific marks) -### This header ends with a period. ### This header ends with a question mark? + ### This header ends with an exclamation point! ## Rule MD040: Fenced Code Language (Should be ignored) From 6343b18fe8e82ed171772cdac4d5272f3f58d1f1 Mon Sep 17 00:00:00 2001 From: emersonfras Date: Mon, 26 Jan 2026 13:12:49 -0500 Subject: [PATCH 8/9] test: cleanup --- test.md | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 test.md diff --git a/test.md b/test.md deleted file mode 100644 index 28742b2..0000000 --- a/test.md +++ /dev/null @@ -1,31 +0,0 @@ -# Test File for Markdownlint Config - -## Rule MD007: Indentation (Should allow 4 spaces) - -* Level 1 - * Level 2 (This uses 4 spaces. If the linter errors, the config isn't working.) - -## Rule MD013: Line Length (Should be ignored) - -This is an incredibly long line of text that exceeds the default 80-character limit usually enforced by markdownlint. Because MD013 is set to false, this line should not trigger any warnings or errors regardless of how long it gets. - -## Rule MD026: Trailing Punctuation (Should allow only specific marks) - -### This header ends with a question mark? - -### This header ends with an exclamation point! - -## Rule MD040: Fenced Code Language (Should be ignored) - -``` -This code block has no language specified. Normally, this triggers a warning, but it should be ignored now. -``` - -## Rule MD046: Code Block Style (Should be ignored) - - This is an indented code block (4 spaces). - Normally, markdownlint prefers fenced blocks (```), but this should be ignored. - -## Hard Tabs (Should be allowed) - -* This line uses a hard tab after the bullet point instead of a space. From 4094e101834157aeb11e12dd559ec8bdd595e613 Mon Sep 17 00:00:00 2001 From: Emerson Frasure Date: Mon, 26 Jan 2026 13:49:44 -0500 Subject: [PATCH 9/9] Remove redundant yaml ignore from linter Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com> --- .github/workflows/lint.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6999602..40cec2e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,7 +23,6 @@ jobs: files: '**/*.md' files_ignore: | docs/wiki-guide/HF_*_Template*.md - mkdocs.yaml separator: "," # This runs the linter ONLY on the files identified above