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

This commit is contained in:
Aminda Suomalainen 2023-10-16 09:02:02 +03:00
parent 1ccd837111
commit 6d9daa1ec4
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -27,7 +27,8 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: fix-byte-order-marker - id: fix-byte-order-marker
- id: trailing-whitespace - id: trailing-whitespace
exclude_types: [markdown] args: ["--markdown-linebreak-ext", "md,markdown"]
exclude_types: [svg, markdown, tsv]
- id: check-merge-conflict - id: check-merge-conflict
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=auto] args: [--fix=auto]