Skip to content

Commit 8877189

Browse files
SnirBroshiJulian
andcommitted
ci(pre-commit): add hook mixed-line-endings --fix=lf (#37496)
If a file has mixed line endings, the pre-commit bot will automatically normalize it to use LF line endings. Co-authored-by: Julian Berman <Julian@GrayVines.com>
1 parent fefd1c2 commit 8877189

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ repos:
1010
hooks:
1111
- id: trailing-whitespace
1212
- id: end-of-file-fixer
13+
- id: mixed-line-ending
14+
args: [--fix=lf]

0 commit comments

Comments
 (0)