From 90cb1661bdc2cf8fe5898aa33c34d881caaecd62 Mon Sep 17 00:00:00 2001 From: Sherry Fan Date: Wed, 21 Jan 2026 10:14:45 -0800 Subject: [PATCH] .markdownlint: Add ignore and settings Add .markdownlint.yaml for mdlint settings and add ignores (build outputs and external dependencies). Signed-off-by: Sherry Fan --- .markdownlint.yaml | 15 +++++++++++++++ .markdownlintignore | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100644 .markdownlint.yaml create mode 100644 .markdownlintignore diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000000..3a7e0751d8 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,15 @@ +## @file +# markdownlint configuration +# +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +# Rules can be found here: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md +# Config info: https://github.com/DavidAnson/markdownlint#configuration + +{ + "default": true, + "MD013": {"line_length": 120, "code_blocks": false, "tables": false}, + "MD033": {"allowed_elements": ["br"]} +} diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000000..29d4df1711 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,6 @@ +# Ignore build directory +/Build/ + +# Ignore external dependencies +*_extdep/ +UnitTestFrameworkPkg/Library/SubhookLib/