mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
0ddf8b63e9
Motivation ----------- This change aims to make it easier to manage tsconfig. This intend to leave to create "ideal" rules about TypeScript's type checking. Implementation --------------- This change removes some duplicated rules defined in `@tsconfig/strictest` and add disabing some strict rules that fails with the current codebase.
23 lines
741 B
JSON
23 lines
741 B
JSON
{
|
|
"extends": "@tsconfig/strictest/tsconfig.json",
|
|
"compilerOptions": {
|
|
"esModuleInterop": false,
|
|
"module": "commonjs",
|
|
"target": "es2021",
|
|
"outDir": "out",
|
|
"lib": ["es2021"],
|
|
"sourceMap": true,
|
|
"rootDir": ".",
|
|
"newLine": "LF",
|
|
// These disables some enhancement type checking options
|
|
// to update typescript version without any code change.
|
|
"useUnknownInCatchVariables": false,
|
|
"exactOptionalPropertyTypes": false,
|
|
"noImplicitOverride": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noUncheckedIndexedAccess": false
|
|
},
|
|
"exclude": ["node_modules", ".vscode-test"],
|
|
"include": ["src", "tests"]
|
|
}
|