Commit ba76cd47 authored by René Fritze's avatar René Fritze
Browse files

[pre-commmit] adds hook + config for markdown lint

parent 07a7c1c6
---
###########################
###########################
## Markdown Linter rules ##
###########################
###########################
# Linter rules doc:
# - https://github.com/DavidAnson/markdownlint
###############
# Rules by id #
###############
MD013:
line_length: 120 # Line length 80 is far to short
MD041: false # require heading as first line in file
MD040: false # ``` fenced code must have language set
#################
# Rules by tags #
#################
blank_lines: false # Error on blank lines
......@@ -20,3 +20,7 @@ repos:
- id: ruff
# Respect `exclude` and `extend-exclude` settings.
args: ["--force-exclude", "--fix"]
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.4.0
hooks:
- id: markdownlint-cli2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment