.rumdl.toml

 1# rumdl configuration file
 2
 3# Global configuration options
 4[global]
 5# List of rules to disable (uncomment and modify as needed)
 6# disable = ["MD013", "MD033"]
 7
 8# List of rules to enable exclusively (if provided, only these rules will run)
 9# enable = ["MD001", "MD003", "MD004"]
10
11# List of file/directory patterns to include for linting (if provided, only these will be linted)
12# include = [
13#    "docs/*.md",
14#    "src/**/*.md",
15#    "README.md"
16# ]
17
18# List of file/directory patterns to exclude from linting
19exclude = [
20    # Common directories to exclude
21    ".git",
22    ".github",
23    "node_modules",
24    "vendor",
25    "dist",
26    "build",
27
28    # Specific files or patterns
29    "CHANGELOG.md",
30    "LICENSE.md",
31]
32
33# Respect .gitignore files when scanning directories (default: true)
34respect_gitignore = true
35
36# Markdown flavor/dialect (uncomment to enable)
37# Options: mkdocs, gfm, commonmark
38flavor = "commonmark"
39
40[MD003]
41style = "atx"  # Heading style (atx, atx_closed, setext)
42
43[MD004]
44style = "dash"  # Unordered list style (asterisk, plus, dash, consistent)
45
46[MD007]
47indent = 2  # Unordered list indentation
48
49[MD013]
50line_length = 80  # Line length
51code_blocks = false  # Exclude code blocks from line length check
52reflow = true