UNPKG

@a11ywatch/core

Version:
14 lines 372 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.issueSort = void 0; const issueSort = (a, b) => { if (a.type === "error" && b.type !== "error") { return -1; } if (a.type === "warning" && b.type !== "error") { return -2; } return 0; }; exports.issueSort = issueSort; //# sourceMappingURL=issue.js.map