11# mdbook-lint configuration for redisctl documentation
22# https://github.com/joshrotenberg/mdbook-lint
33
4- # Temporarily disable rules with known issues
5- disabled-rules = [
6- " MDBOOK010" , # Math block detection - false positives with $ in shell code blocks (issue #141)
7- " MDBOOK005" , # Orphaned files - incorrectly checking outside src directory (issue #142)
8- " MDBOOK002" , # Internal link validation - false positives with existing files
9- ]
10-
11- # Don't fail the build on warnings, but show them for fixing
4+ # Fail on errors but not warnings
125fail-on-warnings = false
13- fail-on-errors = false
14-
15- # Enable rules that should be fixable
16- [rules .MD022 ]
17- # Require blank lines around headings
18- enabled = true
19-
20- [rules .MD032 ]
21- # Require blank lines around lists
22- enabled = true
23-
24- [rules .MD031 ]
25- # Require blank lines around fenced code blocks
26- enabled = true
27-
28- [rules .MD006 ]
29- # Lists should start at beginning of line
30- enabled = true
31-
32- [rules .MD047 ]
33- # Files should end with single newline
34- enabled = true
6+ fail-on-errors = true
357
36- # Configure specific rules
37- [rules .MD013 ]
38- # Allow longer lines for code examples and CLI output
39- line_length = 120
8+ # Disable rules that are too noisy for this project
9+ disabled-rules = [
10+ " MD013" , # Line length - too strict for documentation
11+ " MDBOOK005" , # Orphaned files - we have WIP docs
12+ " MDBOOK023" , # Chapter title match - intentionally different
13+ " CONTENT004" , # Heading capitalization - we use sentence case
14+ " CONTENT007" , # Terminology consistency - too strict
15+ ]
4016
4117[rules .MD024 ]
4218# Allow duplicate headings in different sections
@@ -45,10 +21,3 @@ enabled = true
4521[rules .MD041 ]
4622# Require first line to be a heading
4723enabled = true
48-
49- # Future configuration options when issues are resolved:
50- # [rules.MDBOOK005]
51- # search-path = "src" # Only check within src directory
52- #
53- # [rules.MDBOOK010]
54- # skip-code-blocks = true # Skip math detection in code blocks
0 commit comments