Skip to content

Commit e7dc5f8

Browse files
authored
Merge pull request DSpace#1797 from tdonohue/fix_line_endings
Force all code to use LF line endings in .gitattibutes
2 parents aafe354 + b891ae0 commit e7dc5f8

4 files changed

Lines changed: 5141 additions & 5127 deletions

File tree

.gitattributes

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
# Auto detect text files and perform LF normalization
1+
# By default, auto detect text files and perform LF normalization
2+
# This ensures code is always checked in with LF line endings
23
* text=auto
4+
5+
# JS and TS files must always use LF for Angular tools to work
6+
# Some Angular tools expect LF line endings, even on Windows.
7+
# This ensures Windows always checks out these files with LF line endings
8+
# We've copied many of these rules from https://github.com/angular/angular-cli/
9+
*.js eol=lf
10+
*.ts eol=lf
11+
*.json eol=lf
12+
*.json5 eol=lf
13+
*.css eol=lf
14+
*.scss eol=lf
15+
*.html eol=lf
16+
*.svg eol=lf

scripts/sync-i18n-files.ts

100755100644
File mode changed.

src/app/app.module.ts

100755100644
File mode changed.

0 commit comments

Comments
 (0)