diff --git a/.markdownlint-cli2.cjs b/.markdownlint-cli2.cjs index b9355ada5..2e9fd2e40 100644 --- a/.markdownlint-cli2.cjs +++ b/.markdownlint-cli2.cjs @@ -22,7 +22,7 @@ module.exports = { // Allow multiple subheadings with the same content // across different section (#1 ##A ##B #2 ##A ##B) MD024: { - allow_different_nesting: true, + siblings_only: true, }, // Set Ordered list item prefix to "ordered" (use 1. 2. 3. not 1. 1. 1.) diff --git a/package.json b/package.json index d58a2616f..57ceb2b43 100644 --- a/package.json +++ b/package.json @@ -159,7 +159,7 @@ "jest": "^29.7.0", "jest-esm-transformer-2": "^1.0.0", "jest-rdf": "^1.8.0", - "markdownlint-cli2": "^0.10.0", + "markdownlint-cli2": "^0.13.0", "node-mocks-http": "^1.13.0", "nodemon": "^3.0.1", "set-cookie-parser": "^2.6.0",