src/createReducer.js
Function createReducer
has 706 lines of code (exceeds 100 allowed). Consider refactoring. Open
Open
function createReducer<M, L>(structure: Structure<M, L>) {
const {
deepEqual,
empty,
forEach,
behaviors
has 34 functions (exceeds 20 allowed). Consider refactoring. Open
Open
const behaviors: { [string]: { (state: any, action: Action): M } } = {
[ARRAY_INSERT](
state,
{
meta: { field, index },