TheMagoo73/react-event-emitter

View on GitHub

Showing 1 of 1 total issue

Function useEventEmitter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useEventEmitter = () => {
  const ref = useRef();
  if (!ref.current) {
    ref.current = {
      subscriptions: new Set(),
Severity: Minor
Found in src/useEventEmitter.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language