Skip to content

RustfmtConfigExists

const RustfmtConfigExists: object

Defined in: policies/RustfmtConfigExists.ts:24

A policy that requires a rustfmt.toml file for consistent Rust formatting.

description: string = "Ensures a rustfmt.toml file exists for consistent Rust formatting."

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

PolicyArgs<RustfmtConfigExistsConfig>

Promise<object[]>

match: RegExp

name: string = "RustfmtConfigExists"