diff --git a/.gitattributes b/.gitattributes index 0d98b71ce9..0acf0cd70d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,9 @@ # Auto detect text files and perform LF normalization * text=auto -# JS files must always use LF for tools to work +# JS and TS files must always use LF for tools to work *.js eol=lf +*.ts eol=lf # Must keep Windows line ending to be parsed correctly scripts/windows/packages.txt eol=crlf