aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-10-11 15:29:54 +0200
committerColin Wilk <colin.wilk@tum.de>2023-10-11 15:49:38 +0200
commit6da60ee68e98d97f2c58ea7dca39d85c9b81370b (patch)
treeab2957e8ab93a3c158c3464e6409b5220463d1a5
parentc0ba4c024affb64384ad4f81cdff50009cdac4e4 (diff)
downloadansible-role-prometheus-target-6da60ee68e98d97f2c58ea7dca39d85c9b81370b.tar.gz
ansible-role-prometheus-target-6da60ee68e98d97f2c58ea7dca39d85c9b81370b.zip
Ignore MDLint rule that conflicts with Changelog format
`MD024 Multiple headers with the same content` Conflicts with using same sub-headers for the keepachangelog format Signed-off-by: Colin Wilk <colin.wilk@tum.de>
-rw-r--r--.markdownlint.rb2
-rw-r--r--.pre-commit-config.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/.markdownlint.rb b/.markdownlint.rb
new file mode 100644
index 0000000..c8192eb
--- /dev/null
+++ b/.markdownlint.rb
@@ -0,0 +1,2 @@
+all
+exclude_rule 'MD024'
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0204c17..0d50a19 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,3 +21,4 @@ repos:
rev: v0.12.0
hooks:
- id: markdownlint
+ args: [-s, .markdownlint.rb]