Enable customDescriptionGenerator in launch template, update eslint setting (#47089)

This commit is contained in:
Jake Bailey
2021-12-09 11:47:12 -08:00
committed by GitHub
parent 0ed9247e17
commit 4e39023396
2 changed files with 4 additions and 15 deletions

View File

@@ -48,11 +48,7 @@
"outFiles": [
"${workspaceRoot}/built/local/run.js"
],
// NOTE: To use this, you must switch the "type" above to "pwa-node". You may also need to follow the instructions
// here: https://github.com/microsoft/vscode-js-debug#nightly-extension to use the js-debug nightly until
// this feature is shipping in insiders or to a release:
// "customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue"
"customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue",
},
{
// See: https://github.com/microsoft/TypeScript/wiki/Debugging-Language-Service-in-VS-Code
@@ -60,11 +56,7 @@
"request": "attach",
"name": "Attach to VS Code TS Server via Port",
"processId": "${command:PickProcess}",
// NOTE: To use this, you must switch the "type" above to "pwa-node". You may also need to follow the instructions
// here: https://github.com/microsoft/vscode-js-debug#nightly-extension to use the js-debug nightly until
// this feature is shipping in insiders or to a release:
// "customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue"
"customDescriptionGenerator": "'__tsDebuggerDisplay' in this ? this.__tsDebuggerDisplay(defaultValue) : defaultValue",
}
]
}

View File

@@ -2,10 +2,7 @@
// contents into your existing settings.
{
"eslint.validate": [
{
"language": "typescript",
"autoFix": true
}
"typescript"
],
"eslint.options": {
"rulePaths": ["./scripts/eslint/built/rules/"],
@@ -16,4 +13,4 @@
// To use the locally built compiler, after 'npm run build':
// "typescript.tsdk": "built/local"
}
}