Skip to content

Commit b2f7747

Browse files
authored
Add pre-commit hook mixed-line-ending (#274)
1 parent 12226e0 commit b2f7747

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ repos:
5151
exclude: \.svg$
5252
- id: fix-byte-order-marker
5353
- id: forbid-submodules
54-
#- id: mixed-line-ending
54+
- id: mixed-line-ending
55+
exclude: ^static/img/.*
5556
- id: trailing-whitespace
5657
args: [--markdown-linebreak-ext=md]
5758
exclude: ^static/.*$

0 commit comments

Comments
 (0)