mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Update gitattributes to force LF line endings for code
This commit is contained in:
16
.gitattributes
vendored
16
.gitattributes
vendored
@@ -1,2 +1,16 @@
|
|||||||
# Auto detect text files and perform LF normalization
|
# By default, auto detect text files and perform LF normalization
|
||||||
|
# This ensures code is always checked in with LF line endings
|
||||||
* text=auto
|
* text=auto
|
||||||
|
|
||||||
|
# JS and TS files must always use LF for Angular tools to work
|
||||||
|
# Some Angular tools expect LF line endings, even on Windows.
|
||||||
|
# This ensures Windows always checks out these files with LF line endings
|
||||||
|
# We've copied many of these rules from https://github.com/angular/angular-cli/
|
||||||
|
*.js eol=lf
|
||||||
|
*.ts eol=lf
|
||||||
|
*.json eol=lf
|
||||||
|
*.json5 eol=lf
|
||||||
|
*.css eol=lf
|
||||||
|
*.scss eol=lf
|
||||||
|
*.html eol=lf
|
||||||
|
*.svg eol=lf
|
Reference in New Issue
Block a user