lib/reducers/index.js
Function rootReducer
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function rootReducer(state: State | void, action: Action) {
if (!state) state = ({}: any); // just to be compliant with createStore
const fileReadFails = fileReadFailsReducer(state.fileReadFails, action);
const notes = notesReducer(state.notes, action);
const sifterResult = sifterResultReducer(state.sifterResult, action, notes);