rescribet/link-lib

View on GitHub
src/messages/messageProcessor.ts

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

Function createMessageProcessor has 83 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const createMessageProcessor = (lrs: LinkedRenderStore<unknown>): ((m: Messages) => void) => {
  const store = lrs.store.getInternalStore().store;

  return (message: Messages): void => {
    switch (message.type) {
Severity: Major
Found in src/messages/messageProcessor.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status