Skip to content

Commit 424c0b2

Browse files
Add pre-commit hooks
1 parent ef39d8a commit 424c0b2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ci:
2+
autoupdate_schedule: monthly
3+
4+
exclude: ^(CNAME|assets|bibutils|_collections/_biblio|_sass)
5+
6+
repos:
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v5.0.0
9+
hooks:
10+
- id: end-of-file-fixer
11+
- id: mixed-line-ending
12+
- id: trailing-whitespace

0 commit comments

Comments
 (0)