makeomatic/mservice

View on GitHub
packages/plugin-router-hapi/src/attach.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function attachRouter has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function attachRouter(service: Microfleet, config: RouterHapiPluginConfig): ServerRegisterPluginObject<any> {
  return {
    plugin: {
      name: 'microfleetRouter',
      version: '1.0.0',
Severity: Minor
Found in packages/plugin-router-hapi/src/attach.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status