From 8a1ff1d39e4a01775fca8b2f16a9718fc2cac9a3 Mon Sep 17 00:00:00 2001 From: Sander Maijers Date: Mon, 27 Jun 2016 20:20:20 +0200 Subject: [PATCH] Add file patterns for trailing whitespace fixer * Add extensions for AsciiDoctor, C, C++, OCaml, R, Rust. * Reorder alphabetically. --- hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks.yaml b/hooks.yaml index 08f01c5..0e1259e 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -140,4 +140,4 @@ description: This hook trims trailing whitespace. entry: trailing-whitespace-fixer language: python - files: \.(c|cpp|html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml|pp)$ + files: \.(asciidoc|adoc|coffee|cpp|css|c|ejs|erb|h|haml|hh|hpp|hxx|html|in|jade|json|js|less|markdown|md|ml|mli|pp|py|rb|rs|R|scss|sh|slim|tmpl|txt|yaml|yml)$