mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
2a84b0fb6d
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
31 lines
746 B
JSON
31 lines
746 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"lib": ["ES2020"],
|
|
"module": "commonjs",
|
|
"alwaysStrict": true,
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": false,
|
|
"resolveJsonModule": true,
|
|
"experimentalDecorators": true,
|
|
// enable JavaScript type checking for the language service
|
|
// use the tsconfig.build.json for compiling which disable JavaScript
|
|
// type checking so that JavaScript file are not transpiled
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
"useUnknownInCatchVariables": false,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"newLine": "lf",
|
|
"noEmit": true
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.js"
|
|
],
|
|
"exclude": [
|
|
"node_modules/**"
|
|
]
|
|
}
|