fiedl/your_platform

View on GitHub
app/vue/lib/tiptap/node_paste_rule.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

export function nodePasteRule(regexp, type, getAttrs) {
  const handler = fragment => {
    const nodes = [];

    fragment.forEach(child => {
Severity: Minor
Found in app/vue/lib/tiptap/node_paste_rule.js - About 1 hr to fix

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

      const handler = fragment => {
        const nodes = [];
    
        fragment.forEach(child => {
          if (child.isText) {
    Severity: Minor
    Found in app/vue/lib/tiptap/node_paste_rule.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status