mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
Merge pull request #13 from exKAZUu/master
Extend target languages of end-of-file-fixer and trailing-whitespace.
This commit is contained in:
commit
25e50df1e5
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: \.(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)$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue