NoUnsafeWithoutJustification
constNoUnsafeWithoutJustification:object
Defined in: policies/NoUnsafeWithoutJustification.ts:72
A policy that requires SAFETY comments on unsafe blocks in Rust source files.
Type Declaration
Section titled “Type Declaration”description
Section titled “description”description:
string="Requires safety justification comments on unsafe blocks in Rust source files."
handler
Section titled “handler”handler: (
__namedParameters) =>Promise<object[]>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PolicyArgs<NoUnsafeWithoutJustificationConfig>
Returns
Section titled “Returns”Promise<object[]>
match:
RegExp
name:
string="NoUnsafeWithoutJustification"