mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-17 09:25:50 +00:00
d39bc14c43
* Add some more clippy lints * restore config * no allow dirty Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
12 lines
539 B
Bash
Executable File
12 lines
539 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cargo clippy --workspace --fix --allow-staged --tests --all-targets --all-features -- \
|
|
-D warnings -D deprecated -D clippy::perf -D clippy::complexity \
|
|
-D clippy::style -D clippy::correctness -D clippy::suspicious \
|
|
-D clippy::dbg_macro -D clippy::inefficient_to_string \
|
|
-D clippy::items-after-statements -D clippy::implicit_clone \
|
|
-D clippy::wildcard_imports -D clippy::cast_lossless \
|
|
-D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls \
|
|
-D clippy::unused_self
|