|
| 1 | +# markdownlint YAML configuration |
| 2 | +# https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml |
| 3 | + |
| 4 | +# Default state for all rules |
| 5 | +default: true |
| 6 | + |
| 7 | +# Path to configuration file to extend |
| 8 | +extends: null |
| 9 | + |
| 10 | +# MD003/heading-style/header-style - Heading style |
| 11 | +MD003: |
| 12 | + # Heading style |
| 13 | + style: "atx" |
| 14 | + |
| 15 | +# MD004/ul-style - Unordered list style |
| 16 | +MD004: |
| 17 | + style: "dash" |
| 18 | + |
| 19 | +# MD007/ul-indent - Unordered list indentation |
| 20 | +MD007: |
| 21 | + # Spaces for indent |
| 22 | + indent: 2 |
| 23 | + # Whether to indent the first level of the list |
| 24 | + start_indented: false |
| 25 | + |
| 26 | +# MD009/no-trailing-spaces - Trailing spaces |
| 27 | +MD009: |
| 28 | + # Spaces for line break |
| 29 | + br_spaces: 2 |
| 30 | + # Allow spaces for empty lines in list items |
| 31 | + list_item_empty_lines: false |
| 32 | + # Include unnecessary breaks |
| 33 | + strict: false |
| 34 | + |
| 35 | +# MD010/no-hard-tabs - Hard tabs |
| 36 | +MD010: |
| 37 | + # Include code blocks |
| 38 | + code_blocks: true |
| 39 | + |
| 40 | +# MD012/no-multiple-blanks - Multiple consecutive blank lines |
| 41 | +MD012: |
| 42 | + # Consecutive blank lines |
| 43 | + maximum: 1 |
| 44 | + |
| 45 | +# MD013/line-length - Line length |
| 46 | +MD013: |
| 47 | + # Number of characters |
| 48 | + line_length: 120 |
| 49 | + # Number of characters for headings |
| 50 | + heading_line_length: 120 |
| 51 | + # Number of characters for code blocks |
| 52 | + code_block_line_length: 80 |
| 53 | + # Include code blocks |
| 54 | + code_blocks: false |
| 55 | + # Include tables |
| 56 | + tables: false |
| 57 | + # Include headings |
| 58 | + headings: true |
| 59 | + # Strict length checking |
| 60 | + strict: false |
| 61 | + # Stern length checking |
| 62 | + stern: false |
| 63 | + |
| 64 | +# MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines |
| 65 | +MD022: |
| 66 | + # Blank lines above heading |
| 67 | + lines_above: 1 |
| 68 | + # Blank lines below heading |
| 69 | + lines_below: 1 |
| 70 | + |
| 71 | +# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content |
| 72 | +MD024: |
| 73 | + # Only check sibling headings |
| 74 | + siblings_only: true |
| 75 | + |
| 76 | +# MD025/single-title/single-h1 - Multiple top-level headings in the same document |
| 77 | +MD025: |
| 78 | + # Heading level |
| 79 | + level: 1 |
| 80 | + # RegExp for matching title in front matter |
| 81 | + front_matter_title: "^\\s*title\\s*[:=]" |
| 82 | + |
| 83 | +# MD026/no-trailing-punctuation - Trailing punctuation in heading |
| 84 | +MD026: |
| 85 | + # Punctuation characters |
| 86 | + punctuation: ".,;:!。,;:!" |
| 87 | + |
| 88 | +# MD029/ol-prefix - Ordered list item prefix |
| 89 | +MD029: |
| 90 | + # List style |
| 91 | + style: "one_or_ordered" |
| 92 | + |
| 93 | +# MD030/list-marker-space - Spaces after list markers |
| 94 | +MD030: |
| 95 | + # Spaces for single-line unordered list items |
| 96 | + ul_single: 1 |
| 97 | + # Spaces for single-line ordered list items |
| 98 | + ol_single: 1 |
| 99 | + # Spaces for multi-line unordered list items |
| 100 | + ul_multi: 1 |
| 101 | + # Spaces for multi-line ordered list items |
| 102 | + ol_multi: 1 |
| 103 | + |
| 104 | +# MD033/no-inline-html - Inline HTML |
| 105 | +MD033: |
| 106 | + # Allowed elements |
| 107 | + allowed_elements: [] |
| 108 | + |
| 109 | +# MD035/hr-style - Horizontal rule style |
| 110 | +MD035: |
| 111 | + # Horizontal rule style |
| 112 | + style: "---" |
| 113 | + |
| 114 | +# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading |
| 115 | +MD036: |
| 116 | + # Punctuation characters |
| 117 | + punctuation: ".,;:!?。,;:!?" |
| 118 | + |
| 119 | +# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading |
| 120 | +MD041: |
| 121 | + # Heading level |
| 122 | + level: 1 |
| 123 | + # RegExp for matching title in front matter |
| 124 | + front_matter_title: "^\\s*title\\s*[:=]" |
| 125 | + |
| 126 | +# MD044/proper-names - Proper names should have the correct capitalization |
| 127 | +MD044: |
| 128 | + # List of proper names |
| 129 | + names: |
| 130 | + - Git |
| 131 | + - GitDevOps |
| 132 | + - GitHub |
| 133 | + - GitLab |
| 134 | + - GitOps |
| 135 | + - kube-prometheus-stack |
| 136 | + - Memcached |
| 137 | + - Nextcloud |
| 138 | + - Oracle |
| 139 | + - PostgreSQL |
| 140 | + - Prometheus |
| 141 | + - prometheus-exporter |
| 142 | + - SSL |
| 143 | + - TLS |
| 144 | + # Include code blocks |
| 145 | + code_blocks: false |
| 146 | + |
| 147 | +# MD046/code-block-style - Code block style |
| 148 | +MD046: |
| 149 | + # Block style |
| 150 | + style: "fenced" |
| 151 | + |
| 152 | +# MD048/code-fence-style - Code fence style |
| 153 | +MD048: |
| 154 | + # Code fence syle |
| 155 | + style: "backtick" |
0 commit comments