Merge branch 'develop' into improvement/install-tf-and-packer-for-linting

pull/113/head
Nick M 3 years ago committed by GitHub
commit 3e3b918cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .mdl_config.json
  2. 40
      .mdl_config.yaml
  3. 2
      .pre-commit-config.yaml

@ -1,10 +0,0 @@
{
"MD013": {
"code_blocks": false,
"tables": false
},
"MD024": {
"allow_different_nesting": true
},
"default": true
}

@ -0,0 +1,40 @@
---
# 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

@ -35,7 +35,7 @@ repos:
hooks:
- id: markdownlint
args:
- --config=.mdl_config.json
- --config=.mdl_config.yaml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.2
hooks:

Loading…
Cancel
Save