cortex-cms/cortex

View on GitHub

Showing 2 of 132 total issues

Function reducer has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  return function reducer(state = initialState, action) {
    switch (action.type) {
      case PAGINATE_BACK:
        return {
          ...state,
Severity: Minor
Found in node_package/src/reducers/tenant_switcher_reducer.jsx - About 1 hr to fix

    Function render has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      render() {
        const {
          environment,
          environment_abbreviated,
          currentUser,
    Severity: Minor
    Found in node_package/src/containers/tenant_switcher_container.jsx - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language