AlexAegis/loreplotter

View on GitHub

Showing 146 of 146 total issues

Avoid too many return statements within this function.
Open

            return { ...state, manualLightAlwaysOn: !state.manualLightAlwaysOn };
Severity: Major
Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return { ...state, frame: frameReducer(state.frame, action) };
    Severity: Major
    Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return { ...state, loading: true };
      Severity: Major
      Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return {
                        ...frame,
                        start: { ...frame.start, delta: action.payload.start },
                        end: { ...frame.end, delta: action.payload.end }
                    };
        Severity: Major
        Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return { ...state, playing: !state.playing };
          Severity: Major
          Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return { ...state, manualLightAlwaysOn: action.payload };
            Severity: Major
            Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return { ...state, loading: false };
              Severity: Major
              Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return { ...state, loading: false, selected: payload.id };
                Severity: Major
                Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return frame;
                  Severity: Major
                  Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return { ...state, sidebarOpen: action.payload };
                    Severity: Major
                    Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return loreAdapter.updateOne({ id: payload.id, changes: payload }, { ...state, loading: false });
                      Severity: Major
                      Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return state;
                        Severity: Major
                        Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return { ...state, mediaLarge: action.payload };
                          Severity: Major
                          Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return { ...state, loading: false };
                            Severity: Major
                            Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return frame;
                              Severity: Major
                              Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return { ...state, playing: action.payload, loading: false };
                                Severity: Major
                                Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return { ...state, loading: true };
                                  Severity: Major
                                  Found in src/app/lore/store/reducers/lore.reducer.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return { ...state, interactionMode: action.payload };
                                    Severity: Major
                                    Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return { ...state, manualLight: !state.manualLight };
                                      Severity: Major
                                      Found in src/app/lore/store/reducers/scene.reducer.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                                return;
                                        Severity: Major
                                        Found in src/app/lore/engine/control/orbit-control.class.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language