Skip to content

Commit ab02af1

Browse files
authored
Add TypeScript 5.0 defaults to the JSON schema (#3304)
1 parent b328017 commit ab02af1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/tsconfig-reference/scripts/schema/result/schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@
396396
"newLine": {
397397
"description": "Set the newline character for emitting files.",
398398
"type": "string",
399+
"default": "lf",
399400
"anyOf": [
400401
{
401402
"enum": ["crlf", "lf"]
@@ -641,7 +642,7 @@
641642
"forceConsistentCasingInFileNames": {
642643
"description": "Ensure that casing is correct in imports.",
643644
"type": "boolean",
644-
"default": false,
645+
"default": true,
645646
"markdownDescription": "Ensure that casing is correct in imports.\n\nSee more: https://www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames"
646647
},
647648
"generateCpuProfile": {

packages/tsconfig-reference/scripts/schema/vendor/base.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@
376376
"newLine": {
377377
"description": "Set the newline character for emitting files.",
378378
"type": "string",
379+
"default": "lf",
379380
"anyOf": [
380381
{
381382
"enum": [
@@ -658,7 +659,7 @@
658659
"forceConsistentCasingInFileNames": {
659660
"description": "Ensure that casing is correct in imports.",
660661
"type": "boolean",
661-
"default": false,
662+
"default": true,
662663
"markdownDescription": "Ensure that casing is correct in imports.\n\nSee more: https://www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames"
663664
},
664665
"generateCpuProfile": {

0 commit comments

Comments
 (0)