mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-01 07:59:22 +01:00
.pre-commit-config.yaml: enable trailing-whitespace hook
This commit is contained in:
parent
2a6bd4a024
commit
dc538d6489
@ -10,6 +10,12 @@ 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
|
||||||
|
# I don't want to touch licenses or past association logs or Limnoria
|
||||||
|
# configuration exports.
|
||||||
|
exclude: ^LICENSES\/.*|LICENSE|associations\/.*|.*\.conf$$
|
||||||
|
# File types depending on trailing whitespace. Use identify-cli
|
||||||
|
exclude_types: [tsv, markdown]
|
||||||
- repo: https://github.com/thlorenz/doctoc
|
- repo: https://github.com/thlorenz/doctoc
|
||||||
rev: v2.2.0
|
rev: v2.2.0
|
||||||
hooks:
|
hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user