mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-27 11:03:03 +03:00
more clippy checks
This commit is contained in:
parent
3ff8584438
commit
a99baa0427
2
Makefile
2
Makefile
@ -51,7 +51,7 @@ clippy:
|
||||
clippy-nightly:
|
||||
touch src/main.rs
|
||||
cargo clean -p gitui -p asyncgit -p scopetime -p filetree -p async_utils
|
||||
cargo +nightly clippy --all-features
|
||||
cargo +nightly clippy --workspace --all-features
|
||||
|
||||
check: fmt clippy test
|
||||
|
||||
|
@ -1,3 +1,21 @@
|
||||
// #![forbid(missing_docs)]
|
||||
#![deny(unsafe_code)]
|
||||
#![deny(unused_imports)]
|
||||
#![deny(unused_must_use)]
|
||||
#![deny(dead_code)]
|
||||
#![deny(unstable_name_collisions)]
|
||||
#![deny(clippy::all, clippy::perf, clippy::nursery, clippy::pedantic)]
|
||||
#![deny(clippy::expect_used)]
|
||||
#![deny(clippy::filetype_is_file)]
|
||||
#![deny(clippy::cargo)]
|
||||
#![deny(clippy::unwrap_used)]
|
||||
#![deny(clippy::panic)]
|
||||
#![deny(clippy::match_like_matches_macro)]
|
||||
#![deny(clippy::needless_update)]
|
||||
#![allow(clippy::module_name_repetitions)]
|
||||
#![allow(clippy::must_use_candidate)]
|
||||
#![allow(clippy::missing_errors_doc)]
|
||||
|
||||
mod error;
|
||||
|
||||
use crossbeam_channel::Sender;
|
||||
|
Loading…
Reference in New Issue
Block a user