Skip to content

Commit 5e1950c

Browse files
authored
chore: force source code and markdown files to use LF line ending (electron#25134)
1 parent 2c9e79c commit 5e1950c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,13 @@
22
# files to be checked out with LF endings even if core.autocrlf is true.
33
*.patch text eol=lf
44
patches/**/.patches merge=union
5+
6+
# Source code and markdown files should always use LF as line ending.
7+
*.cc text eol=lf
8+
*.mm text eol=lf
9+
*.h text eol=lf
10+
*.js text eol=lf
11+
*.ts text eol=lf
12+
*.py text eol=lf
13+
*.ps1 text eol=lf
14+
*.md text eol=lf

0 commit comments

Comments
 (0)