Enable forceConsistentCasingInFileNames by default in newly generated configs (#39) (#33614)

*Issue number of the reported bug or feature request: #17542*

**Describe your changes**
Enabled `forceConsistentCasingInFileNames` in newly generated `tsconfig.json`s created by `tsc --init`.

**Testing performed**
The configuration option changed in the related tests.

**Additional context**
n/a


Signed-off-by: Prakash Lalwani <plalwani4@bloomberg.net>
This commit is contained in:
Max Heiber
2019-09-27 22:42:30 +01:00
committed by Ryan Cavanaugh
parent 49a52d02d3
commit c80d565bc5
10 changed files with 36 additions and 10 deletions

View File

@@ -1001,7 +1001,8 @@ namespace ts {
module: ModuleKind.CommonJS,
target: ScriptTarget.ES5,
strict: true,
esModuleInterop: true
esModuleInterop: true,
forceConsistentCasingInFileNames: true
};
let optionNameMapCache: OptionNameMap;