Set up workspace-wide lints

This commit is contained in:
Joscha 2024-03-02 23:21:06 +01:00
parent 44294830af
commit 8aa38070ca
3 changed files with 15 additions and 0 deletions

View file

@ -8,3 +8,12 @@ edition = "2021"
[workspace.dependencies]
showbits-common.path = "./showbits-common"
[workspace.lints]
rust.unsafe_code = "forbid"
rust.future_incompatible = "warn"
rust.rust_2018_idioms = "warn"
rust.unused = "warn"
rust.noop_method_call = "warn"
rust.single_use_lifetimes = "warn"
clippy.use_self = "warn"