mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
add no commit code and config
This commit is contained in:
parent
7539d8bd1a
commit
6c464e2702
2 changed files with 8 additions and 1 deletions
|
|
@ -141,3 +141,9 @@
|
|||
entry: trailing-whitespace-fixer
|
||||
language: python
|
||||
files: \.(asciidoc|adoc|coffee|cpp|css|c|ejs|erb|groovy|h|haml|hh|hpp|hxx|html|in|j2|jade|json|js|less|markdown|md|ml|mli|pp|py|rb|rs|R|scala|scss|sh|slim|tex|tmpl|ts|txt|yaml|yml)$
|
||||
- id: no-commit-to-branch
|
||||
name: Dont commit to branch
|
||||
entry: no-commit-to-branch
|
||||
language: python
|
||||
files: .*
|
||||
always_run: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue