Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "operations/review/ReviewResult"

Index

Type aliases

Severity

Severity: "error" | "warn" | "info"

Functions

clean

reviewCommentSorter

  • Function suitable for use by Array.prototype.sort() to sort review comments by severity, category, subcategory, and sourceLocation path and offset. Items with the same severity, category, and subcategory without a location are sorted before those having a location.

    Parameters

    Returns number

    -1 if a sorts first, 1 if b sorts first, and 0 if they are equivalent.

Generated using TypeDoc