From 39daf4290da9724ae5c2d82615bf2df876502db5 Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Mon, 30 May 2022 16:19:26 +0530 Subject: [PATCH] Revert "feat: `--debug` prints time it takes to parse a file (#15609)" This reverts commit ef857188487eb439801a50827bc9cb2bbd691911. --- lib/linter/linter.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/linter/linter.js b/lib/linter/linter.js index 5304a612a59..9b9f4919207 100644 --- a/lib/linter/linter.js +++ b/lib/linter/linter.js @@ -800,21 +800,14 @@ function parse(text, languageOptions, filePath) { * problem that ESLint identified just like any other. */ try { - debug("Parsing:", filePath); const parseResult = (typeof parser.parseForESLint === "function") ? parser.parseForESLint(textToParse, parserOptions) : { ast: parser.parse(textToParse, parserOptions) }; - - debug("Parsing successful:", filePath); const ast = parseResult.ast; const parserServices = parseResult.services || {}; const visitorKeys = parseResult.visitorKeys || evk.KEYS; - - debug("Scope analysis:", filePath); const scopeManager = parseResult.scopeManager || analyzeScope(ast, languageOptions, visitorKeys); - debug("Scope analysis successful:", filePath); - return { success: true,