Skip to content

NoUnsafeWithoutJustification

const NoUnsafeWithoutJustification: object

Defined in: policies/NoUnsafeWithoutJustification.ts:72

A policy that requires SAFETY comments on unsafe blocks in Rust source files.

description: string = "Requires safety justification comments on unsafe blocks in Rust source files."

handler: (__namedParameters) => Promise<object[]>

PolicyArgs<NoUnsafeWithoutJustificationConfig>

Promise<object[]>

match: RegExp

name: string = "NoUnsafeWithoutJustification"