Skip to content

Commit

Permalink
chore: force source code and markdown files to use LF line ending (#2…
Browse files Browse the repository at this point in the history
…5174)

* chore: force source code and markdown files to use LF line ending

* chore: replace CRLF with LF

Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
  • Loading branch information
trop[bot] and zcbenz committed Sep 1, 2020
1 parent 9466065 commit 12f0352
Show file tree
Hide file tree
Showing 10 changed files with 750 additions and 740 deletions.
10 changes: 10 additions & 0 deletions .gitattributes
Expand Up @@ -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

0 comments on commit 12f0352

Please sign in to comment.