ResultadosDigitais/matrix

View on GitHub
frontend/src/morpheus/store/reducers.js

Summary

Maintainability
C
7 hrs
Test Coverage

Function reducers has 126 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const reducers = (state = initialState, action) => {
  switch (action.type) {
    case SET_CURRENT_USER:
      return {
        ...state,
Severity: Major
Found in frontend/src/morpheus/store/reducers.js - About 5 hrs to fix

    File reducers.js has 259 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import {
      ADD_ERROR,
      SET_CURRENT_USER,
      SET_CURRENT_ROOM,
      ADD_ROOMS,
    Severity: Minor
    Found in frontend/src/morpheus/store/reducers.js - About 2 hrs to fix

      Definition for rule 'react-hooks/exhaustive-deps' was not found
      Open

      import {

      For more information visit Source: http://eslint.org/docs/rules/

      There are no issues that match your filters.

      Category
      Status