mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +01:00
.pre-commit-config.yaml: enable trailing-whitespace with exclude{,_types}
This commit is contained in:
parent
924b1148bf
commit
bdd8bf9484
@ -14,10 +14,11 @@ repos:
|
|||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- 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
|
||||||
# Two lines later must be prettierignored or it gets spaces and breaks
|
# Let's not touch LICENSE files or reuse.software directory
|
||||||
# prettier-ignore
|
exclude: ^LICENSES\/.*|LICENSE$
|
||||||
#args: [--markdown-linebreak-ext=txt,tsv]
|
# File types depending on trailing whitespace. Use identify-cli
|
||||||
|
exclude_types: [tsv, markdown]
|
||||||
|
|
||||||
# Markdown Table of Contents generation.
|
# Markdown Table of Contents generation.
|
||||||
- repo: https://github.com/thlorenz/doctoc
|
- repo: https://github.com/thlorenz/doctoc
|
||||||
|
Loading…
Reference in New Issue
Block a user