From 1ad9294c38f4c0add6bcf4a95ab69cc514755c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Tue, 20 Feb 2024 15:51:01 +0100 Subject: [PATCH] Add lints for website integration --- .markdownlint.json | 3 ++- .pre-commit-config.yaml | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.markdownlint.json b/.markdownlint.json index e1206708..7fa3b745 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -1,4 +1,5 @@ { "MD013": false, - "MD033": false + "MD033": false, + "MD041": false } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index adbd2817..7bdb457e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,17 @@ repos: - id: requirements-txt-fixer # Custom repo for the preCICE configuration formatter - repo: https://github.com/precice/precice-pre-commit-hooks - rev: "v2.1" + rev: "v3.2" hooks: - id: format-precice-config exclude: "tools" + - id: check-image-prefix + files: "^docs/images/.*" + args: [ --prefix=docs-tooling-aste- ] + - repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.39.0 + hooks: + - id: markdownlint + exclude: changelog-entries + - id: markdownlint-fix + exclude: changelog-entries