Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
chore: enable some useful lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-Niederman committed May 21, 2024
1 parent 0bffa53 commit d53f514
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[workspace]
resolver = "2"
members = ["packages/*"]

[workspace.lints.rust]
rust_2018_idioms = "warn"
missing_docs = "warn"

[workspace.lints.clippy]
missing_const_for_fn = "warn"
3 changes: 3 additions & 0 deletions packages/lemlink-plugin-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ edition = "2021"

[lib]
crate-type = ["staticlib", "cdylib", "lib"]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions packages/lemlink/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ clap = { version = "4.5.4", features = ["derive"] }
lemlink-plugin-interface = { version = "0.1.0", path = "../lemlink-plugin-interface" }
serde = { version = "1.0.202", features = ["derive"] }
toml = "0.8.13"

[lints]
workspace = true

0 comments on commit d53f514

Please sign in to comment.