aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <marussy@mit.bme.hu>2021-09-20 02:21:33 +0200
committerLibravatar Kristóf Marussy <marussy@mit.bme.hu>2021-09-20 02:21:33 +0200
commitcdb64c525b7e289a562cabeb72f26a298d2b4e22 (patch)
tree5f12a118cc5e09c1b8efae97d7cbfdec4739c7f5
parentRefactor ServerLauncher (diff)
downloadVIATRA-Generator-cdb64c525b7e289a562cabeb72f26a298d2b4e22.tar.gz
VIATRA-Generator-cdb64c525b7e289a562cabeb72f26a298d2b4e22.tar.zst
VIATRA-Generator-cdb64c525b7e289a562cabeb72f26a298d2b4e22.zip
Force LF line endings in frontend files
eslint will signal an error if Git adds CRLF line endings to TypeScript files on Windows.
-rw-r--r--.gitattributes7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..63f6b190
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,7 @@
1*.css eol=lf
2*.js eol=lf
3*.json eol=lf
4*.jsx eol=lf
5*.scss eol=lf
6*.ts eol=lf
7*.tsx eol=lf