jplusplus/the-accountant

View on GitHub
src/routes.js

Summary

Maintainability
A
1 hr
Test Coverage

Function routesConfig has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports.routesConfig = function routesConfig($stateProvider, $urlRouterProvider, $locationProvider) {
  $locationProvider.html5Mode(false).hashPrefix('');
  $urlRouterProvider.otherwise('/');

  $stateProvider
Severity: Minor
Found in src/routes.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status