erikras/redux-form

View on GitHub
src/ConnectedField.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function createConnectedField has 242 lines of code (exceeds 100 allowed). Consider refactoring.
Open

function createConnectedField<L, M>(structure: Structure<L, M>) {
  const { deepEqual, getIn } = structure
  const getSyncError = (syncErrors: Object, name: string) => {
    const error = plain.getIn(syncErrors, name)
    // Because the error for this field might not be at a level in the error structure where
Severity: Major
Found in src/ConnectedField.js - About 6 hrs to fix

    There are no issues that match your filters.

    Category
    Status