From fc6fbc4732372a2b033ad21175013f9c4867da46 Mon Sep 17 00:00:00 2001 From: Kazunori Sakamoto Date: Sun, 21 Dec 2014 20:18:19 +0900 Subject: [PATCH] Extend target languages of end-of-file-fixer and trailing-whitespace. --- hooks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks.yaml b/hooks.yaml index 31b3cd0..5ef125c 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -28,7 +28,7 @@ description: Ensures that a file is either empty, or ends with one newline. entry: end-of-file-fixer language: python - files: \.(erb|js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$ + files: \.(html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml)$ - id: flake8 name: Flake8 description: This hook runs flake8. @@ -58,4 +58,4 @@ description: This hook trims trailing whitespace. entry: trailing-whitespace-fixer language: python - files: \.(erb|js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$ + files: \.(html|erb|slim|haml|ejs|jade|js|coffee|json|rb|md|py|css|scss|less|sh|tmpl|txt|yaml|yml)$