From c35cf135939456b846592d6921d2018cd4fff59e Mon Sep 17 00:00:00 2001 From: Martin Bohal Date: Wed, 29 Nov 2023 15:45:38 +0100 Subject: [PATCH] Update markdownlint rules --- .markdownlint.jsonc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc index 27aa4c51..8ba44d92 100644 --- a/.markdownlint.jsonc +++ b/.markdownlint.jsonc @@ -3,13 +3,14 @@ { "default": true, "MD007": { // Unordered list indentation - "indent": 4 // 4 spaces so MkDocs can render nested lists correctly + "indent": 4 // 4 spaces so parsers (MkDocs, Bitbucket, etc.) can render nested lists correctly }, - "MD033": false, // Allow inline JSX and custom web components - "MD024": false, // Allow duplicate headings - "line-length": { - "code_block_line_length": 120, - "tables": false, - "code_blocks": false - } + "MD013": { // Line length + "code_block_line_length": 120, // Max length inside code blocks + "tables": false // Do not check length inside tables + }, + "MD024": { // Allow duplicate headings + "allow_different_nesting": true // Allow same heading level under different parents + }, + "MD033": false // Allow inline HTML and custom components }