You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable forceConsistentCasingInFileNames by default in newly generated configs (#39)
*Issue number of the reported bug or feature request: microsoft#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>
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Default initialized TSConfig/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with enum value compiler options/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with files options/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
// "types": [], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Copy file name to clipboardExpand all lines: tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options/tsconfig.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@
46
46
// "typeRoots": [], /* List of folders to include type definitions from. */
47
47
"types": ["jquery","mocha"], /* Type declaration files to be included in compilation. */
48
48
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
49
-
"esModuleInterop": true/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
+
"esModuleInterop": true,/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
50
50
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
0 commit comments