Merge pull request #13 from exKAZUu/master

Extend target languages of end-of-file-fixer and trailing-whitespace.
This commit is contained in:
Anthony Sottile 2014-12-21 06:24:32 -08:00
commit 25e50df1e5

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