@quasar/app-webpack
Version:
Quasar Framework App CLI with Webpack
17 lines (14 loc) • 440 B
JavaScript
const { yellow } = require('kolorist')
const tips =
'You may use special comments to disable some warnings:' +
'\n · ' +
yellow('// eslint-disable-next-line') +
' to ignore the next line.' +
'\n · ' +
yellow('/* eslint-disable */') +
' to ignore all warnings in a file.\n'
module.exports = function format(error, printLog, titleFn) {
printLog(titleFn('Reported by ESLint:'))
printLog(error.message)
printLog(tips)
}