This commit is contained in:
Alexander T
2019-06-14 10:21:51 +03:00
parent d8796d5eaf
commit 123ca0d639
4 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,7 @@
"no-debugger": "off",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-empty": "off",
"no-empty": "error",
"no-eval": "off",
"no-extra-bind": "error",
"no-fallthrough": "off",

View File

@@ -957,7 +957,7 @@ namespace ts {
// When semantic builder asks for diagnostics of the whole program,
// ensure that all the affected files are handled
// tslint:disable-next-line no-empty
// eslint-disable-next-line no-empty
while (getSemanticDiagnosticsOfNextAffectedFile(cancellationToken)) {
}

View File

@@ -669,7 +669,7 @@ namespace ts.server {
msg += `\n\nFile text of ${fileRequest.file}:${indent(text)}\n`;
}
}
catch { } // tslint:disable-line no-empty
catch { } // eslint-disable-line no-empty
}
if (err.message && err.message.indexOf(`Could not find sourceFile:`) !== -1) {

View File

@@ -78,7 +78,7 @@ namespace ts {
const program = getProgram();
builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram(program, host, builderProgram);
const outputFileNames: string[] = [];
// tslint:disable-next-line no-empty
// eslint-disable-next-line no-empty
while (builderProgram.emitNextAffectedFile(fileName => outputFileNames.push(fileName))) {
}
assert.deepEqual(outputFileNames, fileNames);