BookStackApp/BookStack

View on GitHub

Showing 1,485 of 1,485 total issues

Function $wrapNodesImpl has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  selection: BaseSelection,
  nodes: LexicalNode[],
  nodesLength: number,
  createElement: () => ElementNode,
  wrappingElement: null | ElementNode = null,
Severity: Minor
Found in resources/js/wysiwyg/lexical/selection/range-selection.ts - About 35 mins to fix

    Function setLocalStateFocus has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      provider: Provider,
      name: string,
      color: string,
      focusing: boolean,
      awarenessData: object,
    Severity: Minor
    Found in resources/js/wysiwyg/lexical/yjs/index.ts - About 35 mins to fix

      Function initLocalState has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        provider: Provider,
        name: string,
        color: string,
        focusing: boolean,
        awarenessData: object,
      Severity: Minor
      Found in resources/js/wysiwyg/lexical/yjs/index.ts - About 35 mins to fix

        Function createCursorSelection has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          cursor: Cursor,
          anchorKey: NodeKey,
          anchorOffset: number,
          focusKey: NodeKey,
          focusOffset: number,
        Severity: Minor
        Found in resources/js/wysiwyg/lexical/yjs/SyncCursors.ts - About 35 mins to fix

          Function setNativeSelectionWithPaths has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            rootElement: Node,
            anchorPath: number[],
            anchorOffset: number,
            focusPath: number[],
            focusOffset: number,
          Severity: Minor
          Found in resources/js/wysiwyg/lexical/selection/__tests__/utils/index.ts - About 35 mins to fix

            Function createDOMRange has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              editor: LexicalEditor,
              anchorNode: LexicalNode,
              _anchorOffset: number,
              focusNode: LexicalNode,
              _focusOffset: number,
            Severity: Minor
            Found in resources/js/wysiwyg/lexical/selection/utils.ts - About 35 mins to fix

              Function $insertTableRow has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                tableNode: TableNode,
                targetIndex: number,
                shouldInsertAfter = true,
                rowCount: number,
                table: TableDOMTable,
              Severity: Minor
              Found in resources/js/wysiwyg/lexical/table/LexicalTableUtils.ts - About 35 mins to fix

                Function $handleArrowKey has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  editor: LexicalEditor,
                  event: KeyboardEvent,
                  direction: Direction,
                  tableNode: TableNode,
                  tableObserver: TableObserver,
                Severity: Minor
                Found in resources/js/wysiwyg/lexical/table/LexicalTableSelectionHelpers.ts - About 35 mins to fix

                  Function getChangeType has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    prevEditorState: null | EditorState,
                    nextEditorState: EditorState,
                    dirtyLeavesSet: Set<NodeKey>,
                    dirtyElementsSet: Map<NodeKey, IntentionallyMarkedAsDirtyElement>,
                    isComposing: boolean,
                  Severity: Minor
                  Found in resources/js/wysiwyg/lexical/history/index.ts - About 35 mins to fix

                    Function $insertTableColumn has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      tableNode: TableNode,
                      targetIndex: number,
                      shouldInsertAfter = true,
                      columnCount: number,
                      table: TableDOMTable,
                    Severity: Minor
                    Found in resources/js/wysiwyg/lexical/table/LexicalTableUtils.ts - About 35 mins to fix

                      Function moveSelectionPointToSibling has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        point: PointType,
                        node: LexicalNode,
                        parent: ElementNode,
                        prevSibling: LexicalNode | null,
                        nextSibling: LexicalNode | null,
                      Severity: Minor
                      Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 35 mins to fix

                        Function adjustPointOffsetForMergedSibling has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                          point: PointType,
                          isBefore: boolean,
                          key: NodeKey,
                          target: TextNode,
                          textLength: number,
                        Severity: Minor
                        Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 35 mins to fix

                          Function markCollapsedSelectionFormat has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            format: number,
                            style: string,
                            offset: number,
                            key: NodeKey,
                            timeStamp: number,
                          Severity: Minor
                          Found in resources/js/wysiwyg/lexical/core/LexicalEvents.ts - About 35 mins to fix

                            Function $shouldPreventDefaultAndInsertText has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                              selection: RangeSelection,
                              domTargetRange: null | StaticRange,
                              text: string,
                              timeStamp: number,
                              isBeforeInput: boolean,
                            Severity: Minor
                            Found in resources/js/wysiwyg/lexical/core/LexicalEvents.ts - About 35 mins to fix

                              Function $updateTextNodeFromDOMContent has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                textNode: TextNode,
                                textContent: string,
                                anchorOffset: null | number,
                                focusOffset: null | number,
                                compositionEnd: boolean,
                              Severity: Minor
                              Found in resources/js/wysiwyg/lexical/core/LexicalUtils.ts - About 35 mins to fix

                                Function setTextThemeClassNames has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                  tag: string,
                                  prevFormat: number,
                                  nextFormat: number,
                                  dom: HTMLElement,
                                  textClassNames: TextNodeThemeClasses,
                                Severity: Minor
                                Found in resources/js/wysiwyg/lexical/core/nodes/LexicalTextNode.ts - About 35 mins to fix

                                  Function isDeleteForward has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    key: string,
                                    ctrlKey: boolean,
                                    shiftKey: boolean,
                                    altKey: boolean,
                                    metaKey: boolean,
                                  Severity: Minor
                                  Found in resources/js/wysiwyg/lexical/core/LexicalUtils.ts - About 35 mins to fix

                                    Function isMoveToStart has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      key: string,
                                      ctrlKey: boolean,
                                      shiftKey: boolean,
                                      altKey: boolean,
                                      metaKey: boolean,
                                    Severity: Minor
                                    Found in resources/js/wysiwyg/lexical/core/LexicalUtils.ts - About 35 mins to fix

                                      Function triggerMutationListeners has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                        editor: LexicalEditor,
                                        mutatedNodes: MutatedNodes,
                                        updateTags: Set<string>,
                                        dirtyLeaves: Set<string>,
                                        prevEditorState: EditorState,
                                      Severity: Minor
                                      Found in resources/js/wysiwyg/lexical/core/LexicalUpdates.ts - About 35 mins to fix

                                        Function setMutatedNode has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                          mutatedNodes: MutatedNodes,
                                          registeredNodes: RegisteredNodes,
                                          mutationListeners: MutationListeners,
                                          node: LexicalNode,
                                          mutation: NodeMutation,
                                        Severity: Minor
                                        Found in resources/js/wysiwyg/lexical/core/LexicalUtils.ts - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language