lowdefy/lowdefy

View on GitHub
packages/build/src/build/buildPages/buildBlock/buildEvents.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function buildEvents has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

function buildEvents(block, pageContext) {
  if (block.events) {
    Object.keys(block.events).map((key) => {
      if (
        (!type.isArray(block.events[key]) && !type.isObject(block.events[key])) ||
Severity: Major
Found in packages/build/src/build/buildPages/buildBlock/buildEvents.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status