ahbeng/NUSMods

View on GitHub
website/src/reducers/settings.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function settings has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function settings(state: SettingsState = defaultSettingsState, action: Actions): SettingsState {
  switch (action.type) {
    case SELECT_NEW_STUDENT:
      return {
        ...state,
Severity: Major
Found in website/src/reducers/settings.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status