Skip to content

Commit f8bafc2

Browse files
alan-agius4vikerman
authored andcommitted
style: add .gitattributes file (angular#13086)
On windows unless otherwise specified when cloning the repo the line ending will be CRLF which will cause some tests large specs to fail
1 parent 822d6a0 commit f8bafc2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.gitattributes

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# JS and TS files must always use LF for tools to work
5+
*.js eol=lf
6+
*.ts eol=lf
7+
*.json eol=lf
8+
*.css eol=lf
9+
*.scss eol=lf
10+
*.less eol=lf
11+
*.html eol=lf
12+
*.svg eol=lf

0 commit comments

Comments
 (0)