mayank1513/vscode-extension-trello-kanban-board

View on GitHub
extension/panel.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function _messageHandler has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private async _messageHandler(message: MessageType, memento: Memento, webview: Webview) {
    const { action, data, text } = message;
    switch (action) {
      case "load":
        webview.postMessage({ action: "load", data: await loadData(memento, this._scope) } as MessageType);
Severity: Minor
Found in extension/panel.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status