From ae4260ab4be152d03ddc546221a986112db5bd91 Mon Sep 17 00:00:00 2001 From: Anshuman Verma Date: Thu, 6 Jun 2019 21:02:56 +0530 Subject: [PATCH] chore(lint): rm unused lint disables rm unused lint disables --- bin/cli.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index 13a34913f9a..9e3855c9043 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -106,9 +106,7 @@ For more information, see https://webpack.js.org/api/cli/.`); * When --silent flag is present, an object with a no-op write method is * used in place of process.stout */ - const stdout = argv.silent - ? { write: () => {} } // eslint-disable-line - : process.stdout; + const stdout = argv.silent ? { write: () => {} } : process.stdout; function ifArg(name, fn, init) { if (Array.isArray(argv[name])) { @@ -125,7 +123,8 @@ For more information, see https://webpack.js.org/api/cli/.`); if (typeof options.then === "function") { options.then(processOptions).catch(function(err) { console.error(err.stack || err); - process.exit(1); // eslint-disable-line + // eslint-disable-next-line no-process-exit + process.exit(1); }); return; }