jmeas/redux-resource

View on GitHub
packages/redux-resource-plugins/src/reset.js

Summary

Maintainability
A
1 hr
Test Coverage

Function reset has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function reset(resourceType, options = {}) {
  return function(state, action) {
    const typeToUse = action.resourceType || action.resourceName;
    if (
      action.type !== actionTypes.RESET_RESOURCE ||
Severity: Minor
Found in packages/redux-resource-plugins/src/reset.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status