This is an automated email from the ASF dual-hosted git repository.
sebbASF pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 96917553 pre-commit configure trailing whitespace hook for more file
types (#312)
96917553 is described below
commit 9691755374b53915efb2eb35672212dc64cea053
Author: John Bampton <[email protected]>
AuthorDate: Wed Jun 10 02:27:16 2026 +1000
pre-commit configure trailing whitespace hook for more file types (#312)
---
.pre-commit-config.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8d8b51c6..67ea76a2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,4 +19,5 @@ repos:
- id: forbid-submodules
- id: mixed-line-ending
- id: trailing-whitespace
- files: \.(cgi|html|json|py|rb|rdf|sh|ya?ml)$
+ files: \.(cgi|html|json|md|plist|py|rb|rdf|service|sh|template|ya?ml)$
+ args: [--markdown-linebreak-ext=md]