Skip to content

CargoLintsConfiguredConfig

Defined in: policies/CargoLintsConfigured.ts:12

Configuration for the CargoLintsConfigured policy.

optional required?: 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”).

{ pedantic: "warn", nursery: "warn" }

optional requireSection?: boolean

Defined in: policies/CargoLintsConfigured.ts:28

If true, just require that a [lints.clippy] section exists (without checking specific lints).

true