From 9df9c6cb1909f3680c231bfcfc4dbff575719906 Mon Sep 17 00:00:00 2001 From: nimratcoderabbit Date: Mon, 14 Jul 2025 12:13:57 -0400 Subject: [PATCH 1/3] Markdownlint Showcase --- invalid.yaml | 0 markdownlint/.markdownlint-cli2.jsonc | 11 +++++++++++ markdownlint/test.md | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 invalid.yaml create mode 100644 markdownlint/.markdownlint-cli2.jsonc create mode 100644 markdownlint/test.md diff --git a/invalid.yaml b/invalid.yaml new file mode 100644 index 0000000..e69de29 diff --git a/markdownlint/.markdownlint-cli2.jsonc b/markdownlint/.markdownlint-cli2.jsonc new file mode 100644 index 0000000..548259a --- /dev/null +++ b/markdownlint/.markdownlint-cli2.jsonc @@ -0,0 +1,11 @@ +{ + "outputFormatters": [["markdownlint-cli2-formatter-json"]], + "config": { + "default": true, + "MD001": true, + "MD002": true, + "MD022": true, + "MD031": true + } +} + diff --git a/markdownlint/test.md b/markdownlint/test.md new file mode 100644 index 0000000..a697f0f --- /dev/null +++ b/markdownlint/test.md @@ -0,0 +1,8 @@ +#Heading without space +##Subheading (should be H2 but no blank line) + +This is some text. + +-List item without space +Another paragraph with trailing spaces. + From 08efcb205b02f900ed4e254eaa6558d2eabe683a Mon Sep 17 00:00:00 2001 From: nimratcoderabbit Date: Mon, 14 Jul 2025 12:15:48 -0400 Subject: [PATCH 2/3] Removed yaml file --- invalid.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 invalid.yaml diff --git a/invalid.yaml b/invalid.yaml deleted file mode 100644 index e69de29..0000000 From 70b4e069582ce30e8b2db9f338505b563aa4e8fa Mon Sep 17 00:00:00 2001 From: nimratcoderabbit Date: Mon, 14 Jul 2025 12:20:06 -0400 Subject: [PATCH 3/3] Markdown file --- markdownlint/test.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/markdownlint/test.md b/markdownlint/test.md index a697f0f..fdf4704 100644 --- a/markdownlint/test.md +++ b/markdownlint/test.md @@ -1,8 +1,11 @@ -#Heading without space -##Subheading (should be H2 but no blank line) - -This is some text. - --List item without space -Another paragraph with trailing spaces. +name: test + version: 1.0 # Incorrect indentation (should be aligned) +items: + - id: 1 + name: Item One + - id: 2 + name: Item Two # Misaligned key + - id: 3 + name: Item Three +... trailing dot # Invalid syntax