Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
ba76cd47
Commit
ba76cd47
authored
May 12, 2022
by
René Fritze
Browse files
[pre-commmit] adds hook + config for markdown lint
parent
07a7c1c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
.markdownlint.yml
0 → 100644
View file @
ba76cd47
---
###########################
###########################
## 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
.pre-commit-config.yaml
View file @
ba76cd47
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment