Skip to content

Commit

Permalink
feat(lint): warn if underscore bindings are being used
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ferdinand committed Feb 9, 2024
1 parent 6caa0e1 commit 8ab457a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ thiserror = "1.0"
twenty-first = { git = "https://github.com/Neptune-Crypto/twenty-first", rev = "8bee834e" }
unicode-width = "0.1"

[workspace.lints.clippy]
used_underscore_binding = "warn"

[workspace.dependencies.cargo-husky]
version = "1.5"
default-features = false
Expand Down
3 changes: 3 additions & 0 deletions constraint-evaluation-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ twenty-first.workspace = true
proptest.workspace = true
criterion.workspace = true
cargo-husky.workspace = true

[lints]
workspace = true
3 changes: 3 additions & 0 deletions triton-tui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ lazy_static.workspace = true
default = []
integration-tests = ["rexpect"]

[lints]
workspace = true

[[bin]]
name = "triton-tui"
path = "src/main.rs"
Expand Down
3 changes: 3 additions & 0 deletions triton-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ proptest-arbitrary-interop.workspace = true
serde_json.workspace = true
test-strategy.workspace = true

[lints]
workspace = true

[[bench]]
name = "prove_halt"
harness = false
Expand Down

0 comments on commit 8ab457a

Please sign in to comment.