Skip to content
Snippets Groups Projects
Commit f64a44f2 authored by Lars Bilke's avatar Lars Bilke
Browse files

[hook] Added checks for large files, merge conflict strings, xml and yaml syntax.

parent 9d9ec119
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,15 @@ repos:
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=pandoc]
- id: check-added-large-files
args: [--maxkb 1024]
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
- repo: local
hooks:
- id: git-diff-check
name: git-diff-check
name: Run git diff --check
entry: git diff --check --cached -- ':!*.md' ':!*.pandoc' ':!*.asc' ':!*.dat' ':!*.ts'
language: system
stages: [commit, manual]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment