mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
ESlint: enable no-async-promise-executor (#134873)
This commit is contained in:
@@ -174,6 +174,7 @@ export default class PHPValidationProvider {
|
||||
}
|
||||
|
||||
private doValidate(textDocument: vscode.TextDocument): Promise<void> {
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
return new Promise<void>(async (resolve) => {
|
||||
const executable = this.config!.executable;
|
||||
if (!executable) {
|
||||
|
||||
Reference in New Issue
Block a user