lib/colorprint.js
prototype
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Colorprint.prototype = {
disabled: false,
prepareMsg () {
const msg = formatMsg.apply(formatMsg, arguments)
return [this.PREFIX, indentMsg(msg, this.indent), this.SUFFIX].join('')