philips-software/cogito

View on GitHub
workspaces/demo-app/src/app-events/reducer.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function reducer has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const reducer = (state = {}, action) => {
  switch (action.type) {
    case 'ACCOUNTS_FETCHING_IN_PROGRESS':
      return {
        ...state,
Severity: Major
Found in workspaces/demo-app/src/app-events/reducer.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status