viddo/atom-textual-velocity

View on GitHub
lib/reducers/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function rootReducer has 32 lines of code (exceeds 25 allowed). Consider refactoring.
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);
Severity: Minor
Found in lib/reducers/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status