Skip to content

Commit d990032

Browse files
committed
Basic pre-commit hooks inc max 500kb file size (for images esp)
1 parent fa72164 commit d990032

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0 # Use the ref you want to point at
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: check-added-large-files
7+
args: ['--maxkb=500']
8+
- id: check-merge-conflict
9+
- id: check-yaml
10+
- id: end-of-file-fixer
11+
- id: mixed-line-ending
12+
- id: trailing-whitespace
13+
args: ['--markdown-linebreak-ext=md']

0 commit comments

Comments
 (0)