mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-17 14:27:54 +00:00
9848ff6944
This sets a specific rule for MD046 (code block style) instead of the default value of "consistent".
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
---
|
|
|
|
# Default state for all rules
|
|
default: true
|
|
|
|
# MD003/heading-style/header-style - Heading style
|
|
MD003:
|
|
# Enforce the ATX-closed style of header
|
|
style: "atx_closed"
|
|
|
|
# MD004/ul-style - Unordered list style
|
|
MD004:
|
|
# Enforce dashes for unordered lists
|
|
style: "dash"
|
|
|
|
# MD013/line-length - Line length
|
|
MD013:
|
|
# Do not enforce for code blocks
|
|
code_blocks: false
|
|
# Do not enforce for tables
|
|
tables: false
|
|
|
|
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the
|
|
# same content
|
|
MD024:
|
|
# Allow headers with the same content as long as they are not in the same
|
|
# parent heading
|
|
allow_different_nesting: true
|
|
|
|
# MD029/ol-prefix - Ordered list item prefix
|
|
MD029:
|
|
# Enforce the `1.` style for ordered lists
|
|
style: "one"
|
|
|
|
# MD033/no-inline-html - Inline HTML
|
|
MD033:
|
|
# The h1 and img elements are allowed to permit header images
|
|
allowed_elements:
|
|
- h1
|
|
- img
|
|
|
|
# MD035/hr-style - Horizontal rule style
|
|
MD035:
|
|
# Enforce dashes for horizontal rules
|
|
style: "---"
|
|
|
|
# MD046/code-block-style Code block style
|
|
MD046:
|
|
# Enforce the fenced style for code blocks
|
|
style: "fenced"
|