JavaScript: Normalize line endings of .js and .html files

Added .gitattributes files for the two directories where we intentionally have line endings other than LF
This commit is contained in:
Dave Bartolomeo
2018-09-19 11:34:37 -07:00
parent 89f2dbf8db
commit b12c739915
6 changed files with 43 additions and 36 deletions

View File

@@ -1,2 +1,2 @@
[*.{ql,qll,qlref,dbscheme,qhelp}]
[*.{ql,qll,qlref,dbscheme,qhelp,js,html}]
end_of_line = lf

2
.gitattributes vendored
View File

@@ -15,3 +15,5 @@
*.qlref eol=lf
*.dbscheme eol=lf
*.qhelp eol=lf
*.html eol=lf
*.js eol=lf

View File

@@ -0,0 +1,2 @@
# This file intentionally contains a mix of different line endings
tst1.js -text

View File

@@ -0,0 +1,3 @@
# These files intentionally contain CRLF line endings.
tstWindows.html eol=crlf
tstWindows.js eol=crlf