mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 11:39:35 +00:00
51 lines
1.1 KiB
Text
51 lines
1.1 KiB
Text
# No warnings allowed
|
|
-D warnings
|
|
|
|
# nursery
|
|
-D clippy::nursery
|
|
# Erratic and unhelpful
|
|
-A clippy::missing_const_for_fn
|
|
# Too many false/irrelevant positives
|
|
-A clippy::redundant_pub_crate
|
|
# Flags on any debug_assert using an RNG
|
|
-A clippy::debug_assert_with_mut_call
|
|
# Stylistic preference
|
|
-A clippy::option_if_let_else
|
|
|
|
# pedantic
|
|
-D clippy::unnecessary_wraps
|
|
-D clippy::unused_async
|
|
-D clippy::unused_self
|
|
|
|
# restrictions
|
|
|
|
# Safety
|
|
-D clippy::as_conversions
|
|
-D clippy::disallowed_script_idents
|
|
-D clippy::wildcard_enum_match_arm
|
|
|
|
# Clarity
|
|
-D clippy::assertions_on_result_states
|
|
-D clippy::deref_by_slicing
|
|
-D clippy::empty_structs_with_brackets
|
|
-D clippy::get_unwrap
|
|
-D clippy::rest_pat_in_fully_bound_structs
|
|
-D clippy::semicolon_inside_block
|
|
-D clippy::tests_outside_test_module
|
|
|
|
# Quality
|
|
-D clippy::format_push_string
|
|
-D clippy::string_to_string
|
|
|
|
# These potentially should be enabled in the future
|
|
# -D clippy::missing_errors_doc
|
|
# -D clippy::missing_panics_doc
|
|
# -D clippy::doc_markdown
|
|
|
|
# TODO: Enable this
|
|
# -D clippy::cargo
|
|
|
|
# Not in nightly yet
|
|
# -D clippy::redundant_type_annotations
|
|
# -D clippy::big_endian_bytes
|
|
# -D clippy::host_endian_bytes
|