Skip to content

Commit

Permalink
Add TypeScript 5.0 defaults (#4371)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas authored Jan 20, 2025
1 parent add906b commit f2ebca8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/schemas/json/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@
"$comment": "The value of 'null' is UNDOCUMENTED (https://github.com/microsoft/TypeScript/pull/18058).",
"description": "Set the newline character for emitting files.",
"type": ["string", "null"],
"default": "lf",
"anyOf": [
{
"enum": ["crlf", "lf"]
Expand Down Expand Up @@ -773,7 +774,7 @@
"$comment": "The value of 'null' is UNDOCUMENTED (https://github.com/microsoft/TypeScript/pull/18058).",
"description": "Ensure that casing is correct in imports.",
"type": ["boolean", "null"],
"default": false,
"default": true,
"markdownDescription": "Ensure that casing is correct in imports.\n\nSee more: https://www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames"
},
"generateCpuProfile": {
Expand Down
2 changes: 2 additions & 0 deletions src/test/tsconfig/tsconfig-typescript5.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"allowArbitraryExtensions": true,
"allowImportingTsExtensions": true,
"customConditions": [""],
"forceConsistentCasingInFileNames": false,
"moduleResolution": "bundler",
"newLine": "crlf",
"resolvePackageJsonExports": true,
"resolvePackageJsonImports": true,
"target": "es2023",
Expand Down

0 comments on commit f2ebca8

Please sign in to comment.