forked from ClickHouse/clickhouse-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.markdownlint-cli2.yaml
33 lines (31 loc) · 1.28 KB
/
.markdownlint-cli2.yaml
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
---
# Base Markdownlint configuration (Used by GitLab, modified where necessary for ClickHouse)
# Extended Markdownlint configuration in scripts/.markdownlint/
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for explanations of each rule
config:
# turn settings on or off here
default: false
MD040: false # Fenced code blocks should have a language specified
links-url-type: false # Disallow relative links to a .md or .mdx file
custom-anchor-headings: true # Headings must have a custom anchor which is unique per page eg. # A Heading {#a-heading}
no-markdown-image-tags: false
# Keep this item last due to length
proper-names: # MD044
code_blocks: false
html_elements: false
names: [
# add Proper Names to ignore on capitalization check here
]
ignores:
# add or remove ignored directories here
- "docs/ru"
- "docs/zh"
- "docs/whats-new"
- "docs/_placeholders"
- "docs/operations/settings/settings.md" # autogenerated
- "docs/operations/settings/settings-formats.md" # autogenerated
- "docs/cloud/manage/api"
customRules:
# add custom rules here
- "./markdownlint/custom_rules/links_url_type.js"
- "./markdownlint/custom_rules/headings_have_custom_anchors.js"