Extend target languages of end-of-file-fixer and trailing-whitespace.

This commit is contained in:
Kazunori Sakamoto 2014-12-21 20:18:19 +09:00
parent 8eb1ae2e30
commit fc6fbc4732

View file

@ -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)$