mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
.pre-commit-config.yaml: remove markdown exclusion of trailing-whitespace
This commit is contained in:
parent
70ec035f22
commit
ed78c660da
@ -27,11 +27,15 @@ repos:
|
||||
exclude: .*\.nginx$
|
||||
- id: fix-byte-order-marker
|
||||
- id: trailing-whitespace
|
||||
# Markdown allows double trailing space for forced line change. The
|
||||
# hook appears to remove single ones.
|
||||
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
|
||||
exclude_types: [svg, markdown, tsv]
|
||||
# Other file extensions where trailing whitespace may be intentional
|
||||
# and lack of it break things. Use identify-cli for figuring out more
|
||||
# types to add.
|
||||
exclude_types: [svg, tsv]
|
||||
#- id: check-docstring-first
|
||||
#- id: check-json
|
||||
- id: check-merge-conflict
|
||||
|
Loading…
Reference in New Issue
Block a user