-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.markdownlint.yaml
More file actions
63 lines (52 loc) · 2.2 KB
/
.markdownlint.yaml
File metadata and controls
63 lines (52 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# .markdownlint.yaml for python3-cookiecutter
#
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, Jared Cook
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
---
# Enable all built-in rules by default
default: true
# MD007/ul-indent: Set unordered list indentation to 2 spaces
MD007:
indent: 2
# MD013/line-length: Disable or adjust long line warnings
# Many developers disable this to allow long URLs or technical prose
MD013: false
# MD014/commands-show-output: Dollar signs used before commands without showing output
# This prevents copy-paste errors by ensuring leading dollar signs are only used when
# output is also present to distinguish them.
MD014: false
# MD022/blanks-around-headings: Headings should be surrounded by blank lines
# Disabling this allows headings to be immediately preceded or followed by text
MD022: false
# MD024/no-duplicate-heading: Allow duplicate headings if they are not siblings
MD024:
siblings_only: true
# MD029/ol-prefix: Use 1. 2. 3. for ordered lists (default is "one" i.e., 1. 1. 1.)
MD029:
style: "ordered"
# MD031/blanks-around-fences: Fenced code blocks should be surrounded by blank linesmarkdownlintMD031
MD031: false
# MD032/blanks-around-lists: Lists should be surrounded by blank lines
# Setting this to false ignores the rule entirely
MD032: false
# MD033/no-inline-html: Allow specific HTML tags if needed
MD033:
allowed_elements: ["br", "details", "summary"]
# MD041/first-line-h1: Ensure the file starts with a top-level heading
MD041: true
# MD046/code-block-style: Enforce fenced code blocks (```)
MD046:
style: "fenced"