Replace eslint rulesdir with eslint-plugin-local, convert eslint rules to JS (#50380)

This commit is contained in:
Jake Bailey authored and GitHub committed 2022-08-22 13:46:03 -07:00
1 parent aaa4f9d9ff
commit 6362fb2dce
44 files changed
+200 -165

No files matched your search

+1 -1
View File
@@ -1721,7 +1721,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 no-in-operator
// eslint-disable-next-line local/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];