Force `LF` line endings for generated JavaScript (#4285)
authorMysteryCode <mutec@users.noreply.github.com>
Mon, 14 Jun 2021 08:30:55 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 08:30:55 +0000 (10:30 +0200)
The `newLine` configuration option in tsconfig is platform specific. Explicitly set it to ensure consistent behavior.

[Tim: Rephrased the commit message]

tsconfig.json

index a40399002204665e4736ba35591859f4d8e05e5a..1972ef3e251d900db3dbc1bc828126e57465ed05 100644 (file)
@@ -18,6 +18,7 @@
     "esModuleInterop": true,
     "noImplicitThis": true,
     "strictBindCallApply": true,
-    "importHelpers": true
+    "importHelpers": true,
+    "newLine": "lf"
   }
 }