index.js
Function constructor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor (app, { pkg, config = { }, api = { } }) {
if (!(app instanceof EventEmitter)) {
throw new Error('The "app" argument must be of type EventEmitter')
}
if (!pkg) {