chore: force source code and markdown files to use LF line ending (#25134)
This commit is contained in:
parent
2c9e79c8d5
commit
5e1950ceff
1 changed files with 10 additions and 0 deletions
10
.gitattributes
vendored
10
.gitattributes
vendored
|
@ -2,3 +2,13 @@
|
|||
# files to be checked out with LF endings even if core.autocrlf is true.
|
||||
*.patch text eol=lf
|
||||
patches/**/.patches merge=union
|
||||
|
||||
# Source code and markdown files should always use LF as line ending.
|
||||
*.cc text eol=lf
|
||||
*.mm text eol=lf
|
||||
*.h text eol=lf
|
||||
*.js text eol=lf
|
||||
*.ts text eol=lf
|
||||
*.py text eol=lf
|
||||
*.ps1 text eol=lf
|
||||
*.md text eol=lf
|
||||
|
|
Loading…
Add table
Reference in a new issue