mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Update MD024/no-duplicate-heading to remove duplicate parameter allow_different_nesting which confuses people.
This commit is contained in:
parent
c39facc73f
commit
f2725178b1
15 changed files with 19 additions and 49 deletions
|
|
@ -112,8 +112,6 @@
|
|||
|
||||
// MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md024.md
|
||||
"MD024": {
|
||||
// Only check sibling headings
|
||||
"allow_different_nesting": false,
|
||||
// Only check sibling headings
|
||||
"siblings_only": false
|
||||
},
|
||||
|
|
|
|||
|
|
@ -103,8 +103,6 @@ MD023: true
|
|||
|
||||
# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md024.md
|
||||
MD024:
|
||||
# Only check sibling headings
|
||||
allow_different_nesting: false
|
||||
# Only check sibling headings
|
||||
siblings_only: false
|
||||
|
||||
|
|
|
|||
|
|
@ -246,11 +246,6 @@ for (const rule of rules) {
|
|||
break;
|
||||
case "MD024":
|
||||
scheme.properties = {
|
||||
"allow_different_nesting": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"siblings_only": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
|
|
|
|||
|
|
@ -596,11 +596,6 @@
|
|||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"allow_different_nesting": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"siblings_only": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
|
|
@ -617,11 +612,6 @@
|
|||
],
|
||||
"default": true,
|
||||
"properties": {
|
||||
"allow_different_nesting": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"siblings_only": {
|
||||
"description": "Only check sibling headings",
|
||||
"type": "boolean",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue