mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Make hooks specify files. Optionally allow config to override manifest.
This commit is contained in:
parent
0ec9020346
commit
96174deac6
25 changed files with 81 additions and 50 deletions
|
|
@ -1,5 +1,5 @@
|
|||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: 59f23b7c556ce1cf66eb6dc574e10d2b4274be4b
|
||||
sha: 7c003425b35fff516c0ee88f4040c8c208d474bd
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
files: \.(js|rb|md|py|sh|txt|yaml|yml)$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue