krainboltgreene/snabbdom-helpers

View on GitHub

Showing 2 of 2 total issues

File index.js has 352 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* eslint-disable max-lines, func-style, id-length, no-underscore-dangle */
import regularElement from "./regularElement"
import voidElement from "./voidElement"

import type {VirtualDOMNodeType} from "types"
Severity: Minor
Found in source/index.js - About 4 hrs to fix

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

    export default function transform (raw: ParametersType): VirtualDOMPropertiesType {
      return compact(
        {
          "attrs": {
            ...raw.attrs,
    Severity: Minor
    Found in source/normalize/index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language