From ff344bc110adaea0d40ceabec2d7ee1f28b2009e Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 27 May 2021 17:51:03 +0100 Subject: [PATCH] Switch lint parsers --- src/logger.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logger.ts b/src/logger.ts index 005d27665..bd1f98b25 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -36,11 +36,11 @@ const DEFAULT_NAMESPACE = "matrix"; // when logging so we always get the current value of console methods. log.methodFactory = function(methodName, logLevel, loggerName) { return function(...args) { - /* eslint-disable @babel/no-invalid-this */ + /* eslint-disable @typescript-eslint/no-invalid-this */ if (this.prefix) { args.unshift(this.prefix); } - /* eslint-enable @babel/no-invalid-this */ + /* eslint-enable @typescript-eslint/no-invalid-this */ const supportedByConsole = methodName === "error" || methodName === "warn" || methodName === "trace" ||