trailsjs/trailpack

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function constructor has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor (app, { pkg, config = { }, api = { } }) {
    if (!(app instanceof EventEmitter)) {
      throw new Error('The "app" argument must be of type EventEmitter')
    }
    if (!pkg) {
Severity: Minor
Found in index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status