lib/reporter.js
Function createErrorFormatter
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createErrorFormatter (config, emitter, SourceMapConsumer) {
const basePath = config.basePath
const urlRoot = config.urlRoot === '/' ? '' : (config.urlRoot || '')
let lastServedFiles = []
Function createReporters
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createReporters (names, config, emitter, injector) {
const errorFormatter = createErrorFormatter(config, emitter, SourceMapConsumer)
const reporters = []
names.forEach((name) => {
Function msg
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
let msg = input.replace(URL_REGEXP, function (stackTracePath, prefix, path, __, ___, line, ____, column) {