CaliStyle/trailpack-treefrog

View on GitHub
lib/utils/angular.js

Summary

Maintainability
A
1 hr
Test Coverage

Function buildRoutes has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  buildRoutes: (app) => {
    return new Promise((resolve, reject) => {
      let imports = {}
      let routes = '[\n'
      let route404 = ''
Severity: Minor
Found in lib/utils/angular.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status