From 6d9daa1ec40d2d0501f7163b0f78f1fd62e443e5 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 16 Oct 2023 09:02:02 +0300 Subject: [PATCH] .pre-commit-config.yaml: use proper --markdown-linebreak-ext for trailing-whitespace hook --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15fcb47..51c347f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,8 @@ repos: - id: end-of-file-fixer - id: fix-byte-order-marker - id: trailing-whitespace - exclude_types: [markdown] + args: ["--markdown-linebreak-ext", "md,markdown"] + exclude_types: [svg, markdown, tsv] - id: check-merge-conflict - id: mixed-line-ending args: [--fix=auto]