Skip to content

RatingConfig

Defined in: core/dist/config/types.d.ts:579

Configuration for review rating feature. Allows configuring automated review scoring with pass/fail thresholds.

optional enabled?: boolean

Defined in: core/dist/config/types.d.ts:584

Enable or disable review rating.

true

optional errorOnReviewFail?: boolean

Defined in: core/dist/config/types.d.ts:605

Exit with error code 1 when review fails (below threshold). When false, exits normally (code 0) regardless of rating.

true

optional maxRating?: number

Defined in: core/dist/config/types.d.ts:594

Highest allowed value on the rating scale.

10

optional minRating?: number

Defined in: core/dist/config/types.d.ts:599

Lowest allowed value on the rating scale.

0

optional passThreshold?: number

Defined in: core/dist/config/types.d.ts:589

Minimum score (0-10) required to pass the review.

6