pre-commit: adjust mardownlint default, md fixes
Use a style file as recommended by upstream. This makes for only one source of truth. Conserve previous upstream default for MD007 (upstream default changed here https://github.com/markdownlint/markdownlint/pull/373)lean/pre-commit-hook-2
parent
0faa805525
commit
ff48144607
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
MD013: false
|
|
||||||
MD029: false
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
all
|
||||||
|
exclude_rule 'MD013'
|
||||||
|
exclude_rule 'MD029'
|
||||||
|
rule 'MD007', :indent => 2
|
|
@ -24,8 +24,7 @@ repos:
|
||||||
rev: v0.11.0
|
rev: v0.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args: [-r, "~MD013,~MD029"]
|
exclude: "^.github|(^docs/_sidebar\\.md$)"
|
||||||
exclude: "^.git"
|
|
||||||
|
|
||||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
rev: v0.10.0.1
|
rev: v0.10.0.1
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# OpenStack
|
# OpenStack
|
||||||
|
|
||||||
## Known compatible public clouds
|
## Known compatible public clouds
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# Recovering the control plane
|
# Recovering the control plane
|
||||||
|
|
||||||
To recover from broken nodes in the control plane use the "recover\-control\-plane.yml" playbook.
|
To recover from broken nodes in the control plane use the "recover\-control\-plane.yml" playbook.
|
||||||
|
|
Loading…
Reference in New Issue