RustfmtConfigExists
constRustfmtConfigExists:object
Defined in: policies/RustfmtConfigExists.ts:24
A policy that requires a rustfmt.toml file for consistent Rust formatting.
Type Declaration
Section titled “Type Declaration”description
Section titled “description”description:
string="Ensures a rustfmt.toml file exists for consistent Rust formatting."
handler
Section titled “handler”handler: (
__namedParameters) =>Promise<object[]>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PolicyArgs<RustfmtConfigExistsConfig>
Returns
Section titled “Returns”Promise<object[]>
match:
RegExp
name:
string="RustfmtConfigExists"