From 67ccf46ab8c3d0bfac3c3e7e329634c9b61fc422 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Tue, 23 Apr 2024 18:09:32 -0700 Subject: [PATCH 1/2] --newLine defaults to lf --- .../documentation/copy/en/project-config/Compiler Options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation/copy/en/project-config/Compiler Options.md b/packages/documentation/copy/en/project-config/Compiler Options.md index 255f6c21e773..5513062d000c 100644 --- a/packages/documentation/copy/en/project-config/Compiler Options.md +++ b/packages/documentation/copy/en/project-config/Compiler Options.md @@ -855,7 +855,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --newLine

crlf or lf

-

Platform specific.

+

lf

From 2a701ad211be91d4b9b110ad580d8ab61d4b27aa Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Tue, 23 Apr 2024 18:10:58 -0700 Subject: [PATCH 2/2] tsconfig newLine defaults to lf --- packages/tsconfig-reference/scripts/tsconfigRules.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tsconfig-reference/scripts/tsconfigRules.ts b/packages/tsconfig-reference/scripts/tsconfigRules.ts index 895b1f337e6f..186a53428d4a 100644 --- a/packages/tsconfig-reference/scripts/tsconfigRules.ts +++ b/packages/tsconfig-reference/scripts/tsconfigRules.ts @@ -239,7 +239,7 @@ export const defaultsForOptions = { "Matches if [`module`](#module) is `node16` or `nodenext`;", "`Node` otherwise.", ], - newLine: "Platform specific.", + newLine: "`lf`", noImplicitAny: trueIf("strict"), noImplicitThis: trueIf("strict"), preserveConstEnums: trueIf("isolatedModules"),