move eslint rules from eslint-plugin-microsoft-typescript to scripts/eslint

This commit is contained in:
Alexander
2019-07-24 07:17:16 +03:00
committed by Alexander T
parent a79f598269
commit 0059763d8f
41 changed files with 1254 additions and 38 deletions

View File

@@ -1290,7 +1290,7 @@ namespace ts.server {
const pluginModule = pluginModuleFactory({ typescript: ts });
const newLS = pluginModule.create(info);
for (const k of Object.keys(this.languageService)) {
// eslint-disable-next-line microsoft-typescript/no-in-operator
// eslint-disable-next-line no-in-operator
if (!(k in newLS)) {
this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${k} in created LS. Patching.`);
(newLS as any)[k] = (this.languageService as any)[k];