From b5ca0e1689d5a0620ab77ab42d5d755b1ce4e602 Mon Sep 17 00:00:00 2001 From: Will Fleming Date: Tue, 26 Jan 2016 10:47:29 -0500 Subject: [PATCH] Log the parser we're using at run time Similar to the approach we took for Radon, this is helpful output to guide users who might need babel toward the info they would need. --- bin/eslint.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/eslint.js b/bin/eslint.js index 4c0d67178..4491a28a7 100755 --- a/bin/eslint.js +++ b/bin/eslint.js @@ -16,6 +16,8 @@ var cli = new CLIEngine(options); var debug = false; var checks = require("../lib/checks"); +console.error("ESLint is running with the " + cli.getConfigForFile(null).parser + " parser."); + // a wrapper for emitting perf timing function runWithTiming(name, fn) { var start = new Date()