Skip to content

Commit c8e9ce2

Browse files
authored
Embark standard lints v0.3 (#60)
1 parent ba64053 commit c8e9ce2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lints.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// BEGIN - Embark standard lints v0.2
1+
// BEGIN - Embark standard lints v0.3
22
// do not change or add/remove here, but one can add exceptions after this section
33
// for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
44
#![deny(unsafe_code)]
@@ -17,13 +17,16 @@
1717
clippy::if_let_mutex,
1818
clippy::imprecise_flops,
1919
clippy::inefficient_to_string,
20+
clippy::large_types_passed_by_value,
2021
clippy::let_unit_value,
2122
clippy::linkedlist,
2223
clippy::lossy_float_literal,
2324
clippy::macro_use_imports,
25+
clippy::map_err_ignore,
2426
clippy::map_flatten,
2527
clippy::map_unwrap_or,
2628
clippy::match_on_vec_items,
29+
clippy::match_same_arms,
2730
clippy::match_wildcard_for_single_variants,
2831
clippy::mem_forget,
2932
clippy::mismatched_target_os,
@@ -33,16 +36,19 @@
3336
clippy::pub_enum_variant_names,
3437
clippy::ref_option_ref,
3538
clippy::rest_pat_in_fully_bound_structs,
39+
clippy::string_add_assign,
40+
clippy::string_add,
3641
clippy::string_to_string,
3742
clippy::suboptimal_flops,
3843
clippy::todo,
44+
clippy::unimplemented,
3945
clippy::unnested_or_patterns,
4046
clippy::unused_self,
4147
clippy::verbose_file_reads,
4248
future_incompatible,
4349
nonstandard_style,
4450
rust_2018_idioms
4551
)]
46-
// END - Embark standard lints v0.2
52+
// END - Embark standard lints v0.3
4753
// crate-specific exceptions:
4854
#![allow()]

0 commit comments

Comments
 (0)