mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
parent
b29a0e004c
commit
3532e3110a
36 changed files with 11751 additions and 175 deletions
|
|
@ -333,5 +333,11 @@
|
|||
"link",
|
||||
"more"
|
||||
]
|
||||
},
|
||||
|
||||
// MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md
|
||||
"MD060": {
|
||||
// Table column style
|
||||
"style": "any"
|
||||
}
|
||||
}
|
||||
|
|
@ -297,3 +297,8 @@ MD059:
|
|||
- "here"
|
||||
- "link"
|
||||
- "more"
|
||||
|
||||
# MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md
|
||||
MD060:
|
||||
# Table column style
|
||||
style: "any"
|
||||
|
|
|
|||
|
|
@ -604,6 +604,21 @@ for (const rule of rules) {
|
|||
}
|
||||
};
|
||||
break;
|
||||
case "MD060":
|
||||
scheme.properties = {
|
||||
"style": {
|
||||
"description": "Table column style",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"any",
|
||||
"aligned",
|
||||
"compact",
|
||||
"tight"
|
||||
],
|
||||
"default": "any"
|
||||
}
|
||||
};
|
||||
break;
|
||||
default:
|
||||
custom = false;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1869,6 +1869,50 @@
|
|||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MD060": {
|
||||
"description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md",
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"style": {
|
||||
"description": "Table column style",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"any",
|
||||
"aligned",
|
||||
"compact",
|
||||
"tight"
|
||||
],
|
||||
"default": "any"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"table-column-style": {
|
||||
"description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md",
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"style": {
|
||||
"description": "Table column style",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"any",
|
||||
"aligned",
|
||||
"compact",
|
||||
"tight"
|
||||
],
|
||||
"default": "any"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"headings": {
|
||||
"description": "headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
|
||||
"type": "boolean",
|
||||
|
|
@ -1985,7 +2029,7 @@
|
|||
"default": true
|
||||
},
|
||||
"table": {
|
||||
"description": "table : MD055, MD056, MD058",
|
||||
"description": "table : MD055, MD056, MD058, MD060",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1869,6 +1869,50 @@
|
|||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MD060": {
|
||||
"description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md",
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"style": {
|
||||
"description": "Table column style",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"any",
|
||||
"aligned",
|
||||
"compact",
|
||||
"tight"
|
||||
],
|
||||
"default": "any"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"table-column-style": {
|
||||
"description": "MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md060.md",
|
||||
"type": [
|
||||
"boolean",
|
||||
"object"
|
||||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"style": {
|
||||
"description": "Table column style",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"any",
|
||||
"aligned",
|
||||
"compact",
|
||||
"tight"
|
||||
],
|
||||
"default": "any"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"headings": {
|
||||
"description": "headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
|
||||
"type": "boolean",
|
||||
|
|
@ -1985,7 +2029,7 @@
|
|||
"default": true
|
||||
},
|
||||
"table": {
|
||||
"description": "table : MD055, MD056, MD058",
|
||||
"description": "table : MD055, MD056, MD058, MD060",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue