mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-02 18:56:52 +00:00
Add .erb files to hooks
For end of file fixer and trailing whitespaces
This commit is contained in:
parent
d3db038582
commit
cc997d7086
1 changed files with 2 additions and 2 deletions
|
|
@ -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)$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue