Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Use long flags in `script/clippy` for readability (#8694)

Marshall Bowerse3608af9927c
diff --git a/script/clippy b/script/clippy
index 69b0bce192d..b0a1c86cc29 100755
--- a/script/clippy
+++ b/script/clippy
@@ -5,5 +5,5 @@ set -euxo pipefail
# clippy.toml is not currently supporting specifying allowed lints
# so specify those here, and disable the rest until Zed's workspace
# will have more fixes & suppression for the standard lint set
-cargo clippy --release --workspace --all-features --all-targets -- -A clippy::all -D clippy::dbg_macro -D clippy::todo
-cargo clippy -p gpui -- -D warnings
+cargo clippy --release --workspace --all-features --all-targets -- --allow clippy::all --deny clippy::dbg_macro --deny clippy::todo
+cargo clippy --package gpui -- --deny warnings