Merge pull request #9 from tdeo/patch-1
Add .erb files to hooks
diff --git a/hooks.yaml b/hooks.yaml
index 84685f2..3fa9bd9 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: \.(js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$
+ files: \.(erb|js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$
- id: flake8
name: Flake8
description: This hook runs flake8.
@@ -52,4 +52,4 @@
description: This hook trims trailing whitespace.
entry: trailing-whitespace-fixer
language: python
- files: \.(js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$
+ files: \.(erb|js|json|rb|md|py|scss|sh|tmpl|txt|yaml|yml)$