Add no-floating-promises to admin-tool-ext-win and query-history (#16944)

This commit is contained in:
Charles Gagnon
2021-08-30 21:16:55 -07:00
committed by GitHub
parent a06fc0e990
commit de3ff30398
4 changed files with 35 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
{
"parserOptions": {
"project": "./extensions/query-history/tsconfig.json"
},
"rules": {
"@typescript-eslint/no-floating-promises": [
"error",
{
"ignoreVoid": true
}
]
}
}

View File

@@ -9,7 +9,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
// Currently all the functionality for this is contained within the core ADS
// code as the extensibility API doesn't currently support all the required
// functionality (such as contributing tab panels)
vscode.commands.executeCommand('queryHistory.enableQueryHistory');
void vscode.commands.executeCommand('queryHistory.enableQueryHistory');
}
export async function deactivate(): Promise<void> {