},
"extends": {
"description": "Path to configuration file to extend",
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"default": null
},
"$schema": {
"description": "JSON Schema URI (used by some editors)",
"type": "string",
- "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/master/schema/markdownlint-config-schema.json"
+ "default": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json"
},
"MD001": {
"description": "MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time",
"default": true
},
"MD002": {
- "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top level heading",
+ "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
"type": [
"boolean",
"object"
"additionalProperties": false
},
"first-heading-h1": {
- "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top level heading",
+ "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
"type": [
"boolean",
"object"
"additionalProperties": false
},
"first-header-h1": {
- "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top level heading",
+ "description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
"type": [
"boolean",
"object"
"description": "Include code blocks",
"type": "boolean",
"default": true
+ },
+ "spaces_per_tab": {
+ "description": "Number of spaces for each hard tab",
+ "type": "number",
+ "default": 1
}
},
"additionalProperties": false
"description": "Include code blocks",
"type": "boolean",
"default": true
+ },
+ "spaces_per_tab": {
+ "description": "Number of spaces for each hard tab",
+ "type": "number",
+ "default": 1
}
},
"additionalProperties": false
"additionalProperties": false
},
"MD025": {
- "description": "MD025/single-title/single-h1 - Multiple top level headings in the same document",
+ "description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
"type": [
"boolean",
"object"
"additionalProperties": false
},
"single-title": {
- "description": "MD025/single-title/single-h1 - Multiple top level headings in the same document",
+ "description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
"type": [
"boolean",
"object"
"additionalProperties": false
},
"single-h1": {
- "description": "MD025/single-title/single-h1 - Multiple top level headings in the same document",
+ "description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
"type": [
"boolean",
"object"
"punctuation": {
"description": "Punctuation characters",
"type": "string",
- "default": ".,;:!?。,;:!?"
+ "default": ".,;:!。,;:!"
}
},
"additionalProperties": false
"punctuation": {
"description": "Punctuation characters",
"type": "string",
- "default": ".,;:!?。,;:!?"
+ "default": ".,;:!。,;:!"
}
},
"additionalProperties": false
"default": true
},
"MD041": {
- "description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top level heading",
+ "description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
"type": [
"boolean",
"object"
"additionalProperties": false
},
"first-line-heading": {
- "description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top level heading",
+ "description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
"type": [
"boolean",
"object"
"additionalProperties": false
},
"first-line-h1": {
- "description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top level heading",
+ "description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
"type": [
"boolean",
"object"
"items": {
"type": "string"
},
- "default": null
+ "default": []
},
"headers": {
"description": "List of headings",
"items": {
"type": "string"
},
- "default": null
+ "default": []
}
},
"additionalProperties": false
"items": {
"type": "string"
},
- "default": null
+ "default": []
},
"headers": {
"description": "List of headings",
"items": {
"type": "string"
},
- "default": null
+ "default": []
}
},
"additionalProperties": false
"items": {
"type": "string"
},
- "default": null
+ "default": []
},
"headers": {
"description": "List of headings",
"items": {
"type": "string"
},
- "default": null
+ "default": []
}
},
"additionalProperties": false
"items": {
"type": "string"
},
- "default": null
+ "default": []
},
"code_blocks": {
"description": "Include code blocks",
"items": {
"type": "string"
},
- "default": null
+ "default": []
},
"code_blocks": {
"description": "Include code blocks",
"default": true,
"properties": {
"style": {
- "description": "Code fence syle",
+ "description": "Code fence style",
"type": "string",
"enum": [
"consistent",
"default": true,
"properties": {
"style": {
- "description": "Code fence syle",
+ "description": "Code fence style",
"type": "string",
"enum": [
"consistent",
"default": true
}
},
- "additionalProperties": false
+ "additionalProperties": {
+ "type": [
+ "boolean",
+ "object"
+ ]
+ }
}