Skip to content

Commit

Permalink
style: add .gitattributes file (angular#13086)
Browse files Browse the repository at this point in the history
On windows unless otherwise specified when cloning the repo the line ending will be CRLF which will cause some tests large specs to fail
  • Loading branch information
alan-agius4 authored and vikerman committed Nov 30, 2018
1 parent 822d6a0 commit f8bafc2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Auto detect text files and perform LF normalization
* text=auto

# JS and TS files must always use LF for tools to work
*.js eol=lf
*.ts eol=lf
*.json eol=lf
*.css eol=lf
*.scss eol=lf
*.less eol=lf
*.html eol=lf
*.svg eol=lf

0 comments on commit f8bafc2

Please sign in to comment.