frontend/src/morpheus/store/reducers.js
Function reducers
has 126 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const reducers = (state = initialState, action) => {
switch (action.type) {
case SET_CURRENT_USER:
return {
...state,
File reducers.js
has 259 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import {
ADD_ERROR,
SET_CURRENT_USER,
SET_CURRENT_ROOM,
ADD_ROOMS,
Definition for rule 'react-hooks/exhaustive-deps' was not found Open
Open
import {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/