mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 19:13:29 +00:00
28 lines
616 B
TOML
28 lines
616 B
TOML
[package]
|
|
name = "fail"
|
|
version = "0.1.0"
|
|
publish = false
|
|
|
|
[lints.rust]
|
|
rust_2018_idioms = "warn"
|
|
bare_trait_objects = "allow"
|
|
|
|
unused = { level = "deny" }
|
|
unused_braces = { level = "allow", priority = 1 }
|
|
unused_attributes = { level = "allow" }
|
|
|
|
# `warnings` is not a group so the order it is passed does not matter
|
|
warnings = "deny"
|
|
deprecated = "allow"
|
|
|
|
[lints.clippy]
|
|
pedantic = { level = "warn", priority = -1 }
|
|
similar_names = { level = "allow", priority = -1 }
|
|
|
|
[workspace.lints.rust]
|
|
rust_2018_idioms = "warn"
|
|
bare_trait_objects = "allow"
|
|
|
|
[workspace.lints.clippy]
|
|
pedantic = "warn"
|
|
similar_names = "allow"
|