mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 09:34:42 +04:00
Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml
This commit is contained in:
parent
b90a598fac
commit
b9e5184ebd
32 changed files with 107 additions and 21 deletions
|
|
@ -1,16 +0,0 @@
|
|||
- id: regex-with-quotes
|
||||
name: Regex with quotes
|
||||
entry: "foo'bar"
|
||||
language: pcre
|
||||
files: ''
|
||||
- id: other-regex
|
||||
name: Other regex
|
||||
entry: ^\[INFO\]
|
||||
language: pcre
|
||||
files: ''
|
||||
- id: regex-with-grep-args
|
||||
name: Regex with grep extra arguments
|
||||
entry: foo.+bar
|
||||
language: pcre
|
||||
files: ''
|
||||
args: [-i]
|
||||
Loading…
Add table
Add a link
Reference in a new issue