teamdigitale/italia-app

View on GitHub
ts/store/reducers/index.ts

Summary

Maintainability
B
6 hrs
Test Coverage

Function createRootReducer has 110 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createRootReducer(
  persistConfigs: ReadonlyArray<PersistConfig>
) {
  return (state: GlobalState | undefined, action: Action): GlobalState => {
    if (isActionOf(sessionExpired, action)) {
Severity: Major
Found in ts/store/reducers/index.ts - About 4 hrs to fix

    File index.ts has 255 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /* eslint-disable no-underscore-dangle */
    /**
     * Aggregates all defined reducers
     */
    import AsyncStorage from "@react-native-async-storage/async-storage";
    Severity: Minor
    Found in ts/store/reducers/index.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status