Type object
Schema URL https://catalog.lintel.tools/schemas/rust/cargo-manifest/_shared/latest--cargo-lints-cargo.json
Parent schema cargo-manifest
Type: object

Lint settings for Cargo individual lints and lint groups.

Properties

blanket_hint_mostly_unused LintLevel | DetailedLint
implicit_minimum_version_req LintLevel | DetailedLint
unknown_lints LintLevel | DetailedLint
complexity LintLevel | DetailedLint
correctness LintLevel | DetailedLint
pedantic LintLevel | DetailedLint
restriction LintLevel | DetailedLint
suspicious LintLevel | DetailedLint

Definitions

DetailedLint object
level string

Specify the lint level for a lint or lint group.

Values: "forbid" "deny" "warn" "allow"
priority integer

The priority that controls which lints or lint groups override other lint groups. Lower (particularly negative) numbers have lower priority, being overridden by higher numbers, and show up first on the command-line to tools like rustc.

Lint LintLevel | DetailedLint
LintLevel string

Specify the lint level for a lint or lint group.