Skip to content

Commit 3f07925

Browse files
committed
Enforce LF for YAML/JSON in testdata
1 parent 6268bbe commit 3f07925

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.gitattributes

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
# Prevent git from normalizing or converting any newline or encoding inside test data folders
2-
**/testdata/** text eol=lf
1+
# Prevent Git from altering line endings for test fixtures; enforce LF for YAML/JSON under any testdata directory.
2+
**/testdata/**/*.yaml text eol=lf
3+
**/testdata/**/*.yml text eol=lf
4+
**/testdata/**/*.json text eol=lf

0 commit comments

Comments
 (0)