ResultadosDigitais/matrix

View on GitHub
frontend/src/morpheus/hooks/useSocket.js

Summary

Maintainability
A
1 hr
Test Coverage

Function useSocket has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useSocket = (
  toggleLoading,
  setLoggedIn,
  onSetCurrentUser,
  onSetCurrentRoom,
Severity: Minor
Found in frontend/src/morpheus/hooks/useSocket.js - About 1 hr to fix

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

    import { useEffect } from "react";

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

    There are no issues that match your filters.

    Category
    Status