add es-lint no-console

This commit is contained in:
Sébastien Chopin 2016-12-09 18:54:41 +01:00
parent 09e637cf4b
commit a42cda8db4
3 changed files with 2 additions and 9 deletions

View File

@ -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)
})

View File

@ -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)
})

View File

@ -1,7 +0,0 @@
/*
** nuxt.js
*/
'use strict'
module.exports = require('./lib/nuxt')