timhaley94/holdem

View on GitHub
server/src/modules/listener/index.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function create has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function create() {
  const emitter = new EventEmitter();

  const listen = (fn) => emitter.addListener(globalName, fn);
  const unlisten = (fn) => emitter.removeListener(globalName, fn);
Severity: Minor
Found in server/src/modules/listener/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status