From a42cda8db40caca6577a58cb6299418408931322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 9 Dec 2016 18:54:41 +0100 Subject: [PATCH] add es-lint no-console --- bin/nuxt | 2 +- bin/nuxt-dev | 2 +- index.js | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 index.js diff --git a/bin/nuxt b/bin/nuxt index 4ec27a0e79..41c23513cf 100755 --- a/bin/nuxt +++ b/bin/nuxt @@ -27,6 +27,6 @@ const bin = join(__dirname, 'nuxt-' + cmd) const proc = spawn(bin, args, { stdio: 'inherit', customFds: [0, 1, 2] }) proc.on('close', (code) => process.exit(code)) proc.on('error', (err) => { - console.error(err) + console.error(err) // eslint-disable-line no-console process.exit(1) }) diff --git a/bin/nuxt-dev b/bin/nuxt-dev index b11816cd58..2856c504b1 100755 --- a/bin/nuxt-dev +++ b/bin/nuxt-dev @@ -31,7 +31,7 @@ nuxt.build() listenOnConfigChanges(nuxt, server) }) .catch((err) => { - console.error(err) + console.error(err) // eslint-disable-line no-console process.exit(1) }) diff --git a/index.js b/index.js deleted file mode 100644 index 01d6128036..0000000000 --- a/index.js +++ /dev/null @@ -1,7 +0,0 @@ -/* -** nuxt.js -*/ - -'use strict' - -module.exports = require('./lib/nuxt')