CargoLintsConfiguredConfig
Defined in: policies/CargoLintsConfigured.ts:12
Configuration for the CargoLintsConfigured policy.
Properties
Section titled “Properties”required?
Section titled “required?”
optionalrequired?:Record<string,string>
Defined in: policies/CargoLintsConfigured.ts:22
Required clippy lint levels. Keys are lint names (without the clippy:: prefix),
values are the minimum level (“warn” or “deny”).
Example
Section titled “Example”{ pedantic: "warn", nursery: "warn" }requireSection?
Section titled “requireSection?”
optionalrequireSection?:boolean
Defined in: policies/CargoLintsConfigured.ts:28
If true, just require that a [lints.clippy] section exists (without checking specific lints).
Default Value
Section titled “Default Value”true