redux-form/redux-form

View on GitHub
src/createReducer.js

Summary

Maintainability
F
3 days
Test Coverage

Function createReducer has 706 lines of code (exceeds 100 allowed). Consider refactoring.
Open

function createReducer<M, L>(structure: Structure<M, L>) {
  const {
    deepEqual,
    empty,
    forEach,
Severity: Major
Found in src/createReducer.js - About 3 days to fix

    behaviors has 34 functions (exceeds 20 allowed). Consider refactoring.
    Open

      const behaviors: { [string]: { (state: any, action: Action): M } } = {
        [ARRAY_INSERT](
          state,
          {
            meta: { field, index },
    Severity: Minor
    Found in src/createReducer.js - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status