From ad1c5c9bf0ce68cd1478fae8fad1b0590b6649d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Feb 2026 12:47:16 +0000 Subject: [PATCH 1/2] feat(rumdl): update schema to v0.1.10 --- src/schemas/json/rumdl.json | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/src/schemas/json/rumdl.json b/src/schemas/json/rumdl.json index ef896c9cd7c..21c8d55afb9 100644 --- a/src/schemas/json/rumdl.json +++ b/src/schemas/json/rumdl.json @@ -1,13 +1,12 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://json.schemastore.org/rumdl.json", "title": "Config", "description": "rumdl configuration for linting Markdown files. Rules can be configured individually using [MD###] sections with rule-specific options.", "type": "object", "properties": { "global": { - "$ref": "#/definitions/GlobalConfig", "description": "Global configuration options", + "$ref": "#/definitions/GlobalConfig", "default": { "enable": [], "disable": [], @@ -88,13 +87,16 @@ "default": true }, "line-length": { - "$ref": "#/definitions/LineLength", "description": "Global line length setting (used by MD013 and other rules if not overridden)", + "$ref": "#/definitions/LineLength", "default": 80 }, "output-format": { "description": "Output format for linting results (e.g., \"text\", \"json\", \"pylint\", etc.)", - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "fixable": { "description": "Rules that are allowed to be fixed when --fix is used\nIf specified, only these rules will be fixed", @@ -113,8 +115,8 @@ "default": [] }, "flavor": { - "$ref": "#/definitions/MarkdownFlavor", "description": "Markdown flavor/dialect to use (mkdocs, gfm, commonmark, etc.)\nWhen set, adjusts parsing and validation rules for that specific Markdown variant", + "$ref": "#/definitions/MarkdownFlavor", "default": "standard" }, "force-exclude": { @@ -125,7 +127,10 @@ }, "cache-dir": { "description": "Directory to store cache files (default: .rumdl_cache)\nCan also be set via --cache-dir CLI flag or RUMDL_CACHE_DIR environment variable", - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "cache": { "description": "Whether caching is enabled (default: true)\nCan also be disabled via --no-cache CLI flag", @@ -136,11 +141,14 @@ }, "LineLength": { "description": "A line length value that can be 0 (meaning no limit) or a positive value (≥1)\n\nMany configuration values for line length need to support both:\n- 0: Special value meaning \"no line length limit\"\n- ≥1: Actual line length limit\n\nThis type enforces those constraints at deserialization time.", - "type": ["integer", "null"], + "type": [ + "integer", + "null" + ], "minimum": 0 }, "MarkdownFlavor": { - "description": "Markdown flavor/dialect. Accepts: standard, gfm, mkdocs, mdx, quarto. Aliases: commonmark/github map to standard, qmd/rmd/rmarkdown map to quarto.", + "description": "Markdown flavor/dialect. Accepts: standard, gfm, mkdocs, mdx, quarto, obsidian. Aliases: commonmark/github map to standard, qmd/rmd/rmarkdown map to quarto.", "type": "string", "enum": [ "standard", @@ -152,7 +160,8 @@ "quarto", "qmd", "rmd", - "rmarkdown" + "rmarkdown", + "obsidian" ] }, "RuleConfig": { @@ -175,7 +184,12 @@ }, "Severity": { "type": "string", - "enum": ["error", "warning", "info"] + "enum": [ + "error", + "warning", + "info" + ] } - } + }, + "$id": "https://json.schemastore.org/rumdl.json" } From f6fa01481564669450eeac040ba395b3df933df2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 12:48:26 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/schemas/json/rumdl.json | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/src/schemas/json/rumdl.json b/src/schemas/json/rumdl.json index 21c8d55afb9..1c90dc86894 100644 --- a/src/schemas/json/rumdl.json +++ b/src/schemas/json/rumdl.json @@ -1,12 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://json.schemastore.org/rumdl.json", "title": "Config", "description": "rumdl configuration for linting Markdown files. Rules can be configured individually using [MD###] sections with rule-specific options.", "type": "object", "properties": { "global": { - "description": "Global configuration options", "$ref": "#/definitions/GlobalConfig", + "description": "Global configuration options", "default": { "enable": [], "disable": [], @@ -87,16 +88,13 @@ "default": true }, "line-length": { - "description": "Global line length setting (used by MD013 and other rules if not overridden)", "$ref": "#/definitions/LineLength", + "description": "Global line length setting (used by MD013 and other rules if not overridden)", "default": 80 }, "output-format": { "description": "Output format for linting results (e.g., \"text\", \"json\", \"pylint\", etc.)", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fixable": { "description": "Rules that are allowed to be fixed when --fix is used\nIf specified, only these rules will be fixed", @@ -115,8 +113,8 @@ "default": [] }, "flavor": { - "description": "Markdown flavor/dialect to use (mkdocs, gfm, commonmark, etc.)\nWhen set, adjusts parsing and validation rules for that specific Markdown variant", "$ref": "#/definitions/MarkdownFlavor", + "description": "Markdown flavor/dialect to use (mkdocs, gfm, commonmark, etc.)\nWhen set, adjusts parsing and validation rules for that specific Markdown variant", "default": "standard" }, "force-exclude": { @@ -127,10 +125,7 @@ }, "cache-dir": { "description": "Directory to store cache files (default: .rumdl_cache)\nCan also be set via --cache-dir CLI flag or RUMDL_CACHE_DIR environment variable", - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "cache": { "description": "Whether caching is enabled (default: true)\nCan also be disabled via --no-cache CLI flag", @@ -141,10 +136,7 @@ }, "LineLength": { "description": "A line length value that can be 0 (meaning no limit) or a positive value (≥1)\n\nMany configuration values for line length need to support both:\n- 0: Special value meaning \"no line length limit\"\n- ≥1: Actual line length limit\n\nThis type enforces those constraints at deserialization time.", - "type": [ - "integer", - "null" - ], + "type": ["integer", "null"], "minimum": 0 }, "MarkdownFlavor": { @@ -184,12 +176,7 @@ }, "Severity": { "type": "string", - "enum": [ - "error", - "warning", - "info" - ] + "enum": ["error", "warning", "info"] } - }, - "$id": "https://json.schemastore.org/rumdl.json" + } }