.pre-commit-config.yaml: use proper --markdown-linebreak-ext for trailing-whitespace hook

This commit is contained in:
Aminda Suomalainen 2023-10-16 09:01:54 +03:00
parent c8fed99dc9
commit 70ec035f22
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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