Skip to content

Commit

Permalink
Embark standard lints v0.3 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
repi authored Mar 10, 2021
1 parent ba64053 commit c8e9ce2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lints.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// BEGIN - Embark standard lints v0.2
// BEGIN - Embark standard lints v0.3
// do not change or add/remove here, but one can add exceptions after this section
// for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
#![deny(unsafe_code)]
Expand All @@ -17,13 +17,16 @@
clippy::if_let_mutex,
clippy::imprecise_flops,
clippy::inefficient_to_string,
clippy::large_types_passed_by_value,
clippy::let_unit_value,
clippy::linkedlist,
clippy::lossy_float_literal,
clippy::macro_use_imports,
clippy::map_err_ignore,
clippy::map_flatten,
clippy::map_unwrap_or,
clippy::match_on_vec_items,
clippy::match_same_arms,
clippy::match_wildcard_for_single_variants,
clippy::mem_forget,
clippy::mismatched_target_os,
Expand All @@ -33,16 +36,19 @@
clippy::pub_enum_variant_names,
clippy::ref_option_ref,
clippy::rest_pat_in_fully_bound_structs,
clippy::string_add_assign,
clippy::string_add,
clippy::string_to_string,
clippy::suboptimal_flops,
clippy::todo,
clippy::unimplemented,
clippy::unnested_or_patterns,
clippy::unused_self,
clippy::verbose_file_reads,
future_incompatible,
nonstandard_style,
rust_2018_idioms
)]
// END - Embark standard lints v0.2
// END - Embark standard lints v0.3
// crate-specific exceptions:
#![allow()]

0 comments on commit c8e9ce2

Please sign in to comment.