BookStackApp/BookStack

View on GitHub

Showing 889 of 1,485 total issues

Avoid too many return statements within this function.
Open

  return OTHER;
Severity: Major
Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return INSERT_CHARACTER_AFTER_SELECTION;
    Severity: Major
    Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return DELETE_CHARACTER_AFTER_SELECTION;
      Severity: Major
      Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return HISTORY_PUSH;
        Severity: Major
        Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                    return;
          Severity: Major
          Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              return [parent, node.getIndexWithinParent() + 1];
            Severity: Major
            Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return HISTORY_MERGE;
              Severity: Major
              Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return INSERT_CHARACTER_AFTER_SELECTION;
                Severity: Major
                Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return null;
                  Severity: Major
                  Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                              return HISTORY_MERGE;
                    Severity: Major
                    Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return OTHER;
                      Severity: Major
                      Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return DELETE_CHARACTER_BEFORE_SELECTION;
                        Severity: Major
                        Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                            return [resolvedAnchorPoint, resolvedFocusPoint];
                          Severity: Major
                          Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                      return;
                            Severity: Major
                            Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return;
                              Severity: Major
                              Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return new RangeSelection(
                                    resolvedAnchorPoint,
                                    resolvedFocusPoint,
                                    !$isRangeSelection(lastSelection) ? 0 : lastSelection.format,
                                    !$isRangeSelection(lastSelection) ? '' : lastSelection.style,
                                Severity: Major
                                Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return OTHER;
                                  Severity: Major
                                  Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return;
                                    Severity: Major
                                    Found in resources/js/wysiwyg/lexical/core/LexicalSelection.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return OTHER;
                                      Severity: Major
                                      Found in resources/js/wysiwyg/lexical/history/index.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return null;
                                        Severity: Major
                                        Found in resources/js/wysiwyg/lexical/core/shared/caretFromPoint.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language