import type { PolicyShape } from "../policy.js"; /** * Configuration for the CargoLintsConfigured policy. * * @alpha */ export interface CargoLintsConfiguredConfig { /** * Required clippy lint levels. Keys are lint names (without the `clippy::` prefix), * values are the minimum level ("warn" or "deny"). * * @example * ```typescript * { pedantic: "warn", nursery: "warn" } * ``` */ required?: Record; /** * If true, just require that a [lints.clippy] section exists (without checking specific lints). * @defaultValue true */ requireSection?: boolean; } /** * A policy that ensures Cargo.toml has a [lints.clippy] section configured. * * @alpha */ export declare const CargoLintsConfigured: PolicyShape; //# sourceMappingURL=CargoLintsConfigured.d.ts.map