code: function isConsecutiveComment(comment) {
              const previousTokenOrComment = sourceCode.getTokenBefore(comment, { includeComments: true });
  
              return Boolean(
                  previousTokenOrComment &&
                  ["Block", "Line"].indexOf(previousTokenOrComment.type) !== -1
              );
          }
docs: Determine if a comment follows another comment.
  
  @param {ASTNode} comment The comment to check.
  @returns {boolean} True if the comment follows a valid comment.