UNPKG

markdownlint

Version:

A Node.js style checker and lint tool for Markdown/CommonMark files.

1,833 lines 136 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.40.0/schema/markdownlint-config-schema.json", "title": "markdownlint configuration schema", "type": "object", "properties": { "$schema": { "description": "JSON Schema URI (expected by some editors)", "type": "string", "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.40.0/schema/markdownlint-config-schema.json" }, "default": { "description": "Default state for all rules", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] } ], "default": true }, "extends": { "description": "Path to configuration file to extend", "type": [ "string", "null" ], "default": null }, "MD001": { "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "front_matter_title": { "description": "RegExp for matching title in front matter", "type": "string", "default": "^\\s*title\\s*[:=]" } } } ], "default": true }, "heading-increment": { "description": "MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md001.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "front_matter_title": { "description": "RegExp for matching title in front matter", "type": "string", "default": "^\\s*title\\s*[:=]" } } } ], "default": true }, "MD003": { "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "style": { "description": "Heading style", "type": "string", "enum": [ "consistent", "atx", "atx_closed", "setext", "setext_with_atx", "setext_with_atx_closed" ], "default": "consistent" } } } ], "default": true }, "heading-style": { "description": "MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md003.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "style": { "description": "Heading style", "type": "string", "enum": [ "consistent", "atx", "atx_closed", "setext", "setext_with_atx", "setext_with_atx_closed" ], "default": "consistent" } } } ], "default": true }, "MD004": { "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "style": { "description": "List style", "type": "string", "enum": [ "consistent", "asterisk", "plus", "dash", "sublist" ], "default": "consistent" } } } ], "default": true }, "ul-style": { "description": "MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md004.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "style": { "description": "List style", "type": "string", "enum": [ "consistent", "asterisk", "plus", "dash", "sublist" ], "default": "consistent" } } } ], "default": true }, "MD005": { "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "list-indent": { "description": "MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md005.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD007": { "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "indent": { "description": "Spaces for indent", "type": "integer", "minimum": 1, "default": 2 }, "start_indented": { "description": "Whether to indent the first level of the list", "type": "boolean", "default": false }, "start_indent": { "description": "Spaces for first level indent (when start_indented is set)", "type": "integer", "minimum": 1, "default": 2 } } } ], "default": true }, "ul-indent": { "description": "MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md007.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "indent": { "description": "Spaces for indent", "type": "integer", "minimum": 1, "default": 2 }, "start_indented": { "description": "Whether to indent the first level of the list", "type": "boolean", "default": false }, "start_indent": { "description": "Spaces for first level indent (when start_indented is set)", "type": "integer", "minimum": 1, "default": 2 } } } ], "default": true }, "MD009": { "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "br_spaces": { "description": "Spaces for line break", "type": "integer", "minimum": 0, "default": 2 }, "code_blocks": { "description": "Include code blocks", "type": "boolean", "default": false }, "list_item_empty_lines": { "description": "Allow spaces for empty lines in list items", "type": "boolean", "default": false }, "strict": { "description": "Include unnecessary breaks", "type": "boolean", "default": false } } } ], "default": true }, "no-trailing-spaces": { "description": "MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md009.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "br_spaces": { "description": "Spaces for line break", "type": "integer", "minimum": 0, "default": 2 }, "code_blocks": { "description": "Include code blocks", "type": "boolean", "default": false }, "list_item_empty_lines": { "description": "Allow spaces for empty lines in list items", "type": "boolean", "default": false }, "strict": { "description": "Include unnecessary breaks", "type": "boolean", "default": false } } } ], "default": true }, "MD010": { "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "code_blocks": { "description": "Include code blocks", "type": "boolean", "default": true }, "ignore_code_languages": { "description": "Fenced code languages to ignore", "type": "array", "items": { "type": "string" }, "default": [] }, "spaces_per_tab": { "description": "Number of spaces for each hard tab", "type": "integer", "minimum": 0, "default": 1 } } } ], "default": true }, "no-hard-tabs": { "description": "MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md010.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "code_blocks": { "description": "Include code blocks", "type": "boolean", "default": true }, "ignore_code_languages": { "description": "Fenced code languages to ignore", "type": "array", "items": { "type": "string" }, "default": [] }, "spaces_per_tab": { "description": "Number of spaces for each hard tab", "type": "integer", "minimum": 0, "default": 1 } } } ], "default": true }, "MD011": { "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "no-reversed-links": { "description": "MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md011.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD012": { "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "maximum": { "description": "Consecutive blank lines", "type": "integer", "minimum": 1, "default": 1 } } } ], "default": true }, "no-multiple-blanks": { "description": "MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md012.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "maximum": { "description": "Consecutive blank lines", "type": "integer", "minimum": 1, "default": 1 } } } ], "default": true }, "MD013": { "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "line_length": { "description": "Number of characters", "type": "integer", "minimum": 1, "default": 80 }, "heading_line_length": { "description": "Number of characters for headings", "type": "integer", "minimum": 1, "default": 80 }, "code_block_line_length": { "description": "Number of characters for code blocks", "type": "integer", "minimum": 1, "default": 80 }, "code_blocks": { "description": "Include code blocks", "type": "boolean", "default": true }, "tables": { "description": "Include tables", "type": "boolean", "default": true }, "headings": { "description": "Include headings", "type": "boolean", "default": true }, "strict": { "description": "Strict length checking", "type": "boolean", "default": false }, "stern": { "description": "Stern length checking", "type": "boolean", "default": false } } } ], "default": true }, "line-length": { "description": "MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md013.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "line_length": { "description": "Number of characters", "type": "integer", "minimum": 1, "default": 80 }, "heading_line_length": { "description": "Number of characters for headings", "type": "integer", "minimum": 1, "default": 80 }, "code_block_line_length": { "description": "Number of characters for code blocks", "type": "integer", "minimum": 1, "default": 80 }, "code_blocks": { "description": "Include code blocks", "type": "boolean", "default": true }, "tables": { "description": "Include tables", "type": "boolean", "default": true }, "headings": { "description": "Include headings", "type": "boolean", "default": true }, "strict": { "description": "Strict length checking", "type": "boolean", "default": false }, "stern": { "description": "Stern length checking", "type": "boolean", "default": false } } } ], "default": true }, "MD014": { "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "commands-show-output": { "description": "MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md014.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD018": { "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "no-missing-space-atx": { "description": "MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md018.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD019": { "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "no-multiple-space-atx": { "description": "MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md019.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD020": { "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "no-missing-space-closed-atx": { "description": "MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md020.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD021": { "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "no-multiple-space-closed-atx": { "description": "MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md021.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD022": { "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "lines_above": { "description": "Blank lines above heading", "type": [ "integer", "array" ], "items": { "type": "integer" }, "minimum": -1, "default": 1 }, "lines_below": { "description": "Blank lines below heading", "type": [ "integer", "array" ], "items": { "type": "integer" }, "minimum": -1, "default": 1 } } } ], "default": true }, "blanks-around-headings": { "description": "MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md022.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "lines_above": { "description": "Blank lines above heading", "type": [ "integer", "array" ], "items": { "type": "integer" }, "minimum": -1, "default": 1 }, "lines_below": { "description": "Blank lines below heading", "type": [ "integer", "array" ], "items": { "type": "integer" }, "minimum": -1, "default": 1 } } } ], "default": true }, "MD023": { "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "heading-start-left": { "description": "MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md023.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" } } } ], "default": true }, "MD024": { "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "siblings_only": { "description": "Only check sibling headings", "type": "boolean", "default": false } } } ], "default": true }, "no-duplicate-heading": { "description": "MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md024.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "siblings_only": { "description": "Only check sibling headings", "type": "boolean", "default": false } } } ], "default": true }, "MD025": { "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "front_matter_title": { "description": "RegExp for matching title in front matter", "type": "string", "default": "^\\s*title\\s*[:=]" }, "level": { "description": "Heading level", "type": "integer", "minimum": 1, "maximum": 6, "default": 1 } } } ], "default": true }, "single-title": { "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "front_matter_title": { "description": "RegExp for matching title in front matter", "type": "string", "default": "^\\s*title\\s*[:=]" }, "level": { "description": "Heading level", "type": "integer", "minimum": 1, "maximum": 6, "default": 1 } } } ], "default": true }, "single-h1": { "description": "MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md025.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "front_matter_title": { "description": "RegExp for matching title in front matter", "type": "string", "default": "^\\s*title\\s*[:=]" }, "level": { "description": "Heading level", "type": "integer", "minimum": 1, "maximum": 6, "default": 1 } } } ], "default": true }, "MD026": { "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ], "default": "error" }, "punctuation": { "description": "Punctuation characters", "type": "string", "default": ".,;:!。,;:!" } } } ], "default": true }, "no-trailing-punctuation": { "description": "MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.40.0/doc/md026.md", "oneOf": [ { "type": "boolean" }, { "enum": [ "error", "warning" ] }, { "type": "object", "additionalProperties": false, "properties": { "enabled": { "description": "Whether to enable the rule", "type": "boolean", "default": true }, "severity": { "description": "Rule severity", "type": "string", "enum": [ "error", "warning" ],