UNPKG

708 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class DefaultReviewComment {
4 constructor(severity, category, detail, sourceLocation, fix) {
5 this.severity = severity;
6 this.category = category;
7 this.detail = detail;
8 this.sourceLocation = sourceLocation;
9 this.fix = fix;
10 }
11}
12exports.DefaultReviewComment = DefaultReviewComment;
13/**
14 * Give a project a clean bill of health, with no comments
15 * @param repoId identification of project
16 * @return {{repoId: RepoRef, comments: Array}}
17 */
18function clean(repoId) {
19 return {
20 repoId,
21 comments: [],
22 };
23}
24exports.clean = clean;
25//# sourceMappingURL=ReviewResult.js.map
\No newline at end of file