Skip to content

Commit a38e1e3

Browse files
committed
Refactor .gitattributes to ensure consistent line endings for YAML, Markdown, JSON, and source control files
1 parent 735ac11 commit a38e1e3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.gitattributes

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Needed for publishing of examples, build worker defaults to core.autocrlf=input.
22
* text eol=crlf
3-
*.yml eol=lf
3+
4+
# YAML files should use LF (YAML standard)
5+
*.yml text eol=lf
6+
*.yaml text eol=lf
7+
8+
# Markdown files should use LF (cross-platform standard)
9+
*.md text eol=lf
10+
11+
# JSON files should use LF
12+
*.json text eol=lf
13+
14+
# Source control files should use LF
15+
.gitignore text eol=lf
16+
.gitattributes text eol=lf
417

518
# Ensure any exe files are treated as binary
619
*.exe binary

0 commit comments

Comments
 (0)