From 70ec035f224af108ac289739dd4f9b0f5697c235 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 16 Oct 2023 09:01:54 +0300 Subject: [PATCH] .pre-commit-config.yaml: use proper --markdown-linebreak-ext for trailing-whitespace hook --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a18f9a58..e4377823 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,7 @@ repos: exclude: .*\.nginx$ - id: fix-byte-order-marker - id: trailing-whitespace + args: ["--markdown-linebreak-ext", "md,markdown"] # Let's not touch LICENSE files or reuse.software directory exclude: ^LICENSES\/.*|LICENSE$ # File types depending on trailing whitespace. Use identify-cli