From 391e0aede8721d7f08e809d166d07685de2f463f Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo Date: Thu, 13 Oct 2022 10:55:55 +0200 Subject: [PATCH] enable markdownlint pre-commit hook (#140) --- .markdownlint.yml | 2 ++ .pre-commit-config.yaml | 4 ++++ README.md | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .markdownlint.yml diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 000000000..320406db4 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,2 @@ +default: true +MD013: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0db9e2f83..1b099798d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,3 +22,7 @@ repos: - id: check-github-actions - id: check-github-workflows - id: check-travis + - repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.32.2 + hooks: + - id: markdownlint diff --git a/README.md b/README.md index 418c788f6..d87fa4f72 100644 --- a/README.md +++ b/README.md @@ -544,7 +544,7 @@ Updates `version` attribute inside `Chart.yaml` file: ### jx-updatebot-pr -Create a Pull Request on each downstream repository using https://github.com/jenkins-x-plugins/jx-updatebot. +Create a Pull Request on each downstream repository using [jx-updatebot](https://github.com/jenkins-x-plugins/jx-updatebot). Given `.jx/updatebot.yaml` spec in the `alfresco-modeling-service` project: