Files
vscode/src/tsconfig.base.json
mtaran-google 76bc88fd9d Ban unreachable code. (#104521)
This changes unreachable code from a warning presented in the editor to an error. Existing issues mostly revolved around switching on enums. These were fixed by converting the switches to use a default case, leaving the behavior unchanged in case of new values (e.g. from separately-compiled extensions) creeping in.

Other cases had to do with the assert.fail() function, which throws and so shouldn't have anything following it.

Co-authored-by: Maksym Taran <maksym.taran@gmail.com>
2020-08-17 14:38:32 -07:00

27 lines
456 B
JSON

{
"compilerOptions": {
"module": "amd",
"moduleResolution": "node",
"experimentalDecorators": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"allowUnreachableCode": false,
"strict": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"vs/*": [
"./vs/*"
]
},
"lib": [
"ES2015",
"ES2017.String",
"ES2018.Promise",
"DOM",
"DOM.Iterable",
"WebWorker.ImportScripts"
]
}
}