|
1 |
| -// BEGIN - Embark standard lints v0.3 |
| 1 | +// BEGIN - Embark standard lints v0.4 |
2 | 2 | // do not change or add/remove here, but one can add exceptions after this section
|
3 | 3 | // for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
|
4 | 4 | #![deny(unsafe_code)]
|
5 | 5 | #![warn(
|
6 | 6 | clippy::all,
|
7 | 7 | clippy::await_holding_lock,
|
| 8 | + clippy::char_lit_as_u8, |
| 9 | + clippy::checked_conversions, |
8 | 10 | clippy::dbg_macro,
|
9 | 11 | clippy::debug_assert_with_mut_call,
|
10 | 12 | clippy::doc_markdown,
|
11 | 13 | clippy::empty_enum,
|
12 | 14 | clippy::enum_glob_use,
|
13 | 15 | clippy::exit,
|
| 16 | + clippy::expl_impl_clone_on_copy, |
| 17 | + clippy::explicit_deref_methods, |
14 | 18 | clippy::explicit_into_iter_loop,
|
| 19 | + clippy::fallible_impl_from, |
15 | 20 | clippy::filter_map_next,
|
| 21 | + clippy::float_cmp_const, |
16 | 22 | clippy::fn_params_excessive_bools,
|
17 | 23 | clippy::if_let_mutex,
|
| 24 | + clippy::implicit_clone, |
18 | 25 | clippy::imprecise_flops,
|
19 | 26 | clippy::inefficient_to_string,
|
| 27 | + clippy::invalid_upcast_comparisons, |
20 | 28 | clippy::large_types_passed_by_value,
|
21 | 29 | clippy::let_unit_value,
|
22 | 30 | clippy::linkedlist,
|
23 | 31 | clippy::lossy_float_literal,
|
24 | 32 | clippy::macro_use_imports,
|
| 33 | + clippy::manual_ok_or, |
25 | 34 | clippy::map_err_ignore,
|
26 | 35 | clippy::map_flatten,
|
27 | 36 | clippy::map_unwrap_or,
|
|
30 | 39 | clippy::match_wildcard_for_single_variants,
|
31 | 40 | clippy::mem_forget,
|
32 | 41 | clippy::mismatched_target_os,
|
| 42 | + clippy::mut_mut, |
| 43 | + clippy::mutex_integer, |
33 | 44 | clippy::needless_borrow,
|
34 | 45 | clippy::needless_continue,
|
35 | 46 | clippy::option_option,
|
36 |
| - clippy::pub_enum_variant_names, |
| 47 | + clippy::path_buf_push_overwrite, |
| 48 | + clippy::ptr_as_ptr, |
37 | 49 | clippy::ref_option_ref,
|
38 | 50 | clippy::rest_pat_in_fully_bound_structs,
|
| 51 | + clippy::same_functions_in_if_condition, |
| 52 | + clippy::semicolon_if_nothing_returned, |
39 | 53 | clippy::string_add_assign,
|
40 | 54 | clippy::string_add,
|
| 55 | + clippy::string_lit_as_bytes, |
41 | 56 | clippy::string_to_string,
|
42 |
| - clippy::suboptimal_flops, |
43 | 57 | clippy::todo,
|
| 58 | + clippy::trait_duplication_in_bounds, |
44 | 59 | clippy::unimplemented,
|
45 | 60 | clippy::unnested_or_patterns,
|
46 | 61 | clippy::unused_self,
|
| 62 | + clippy::useless_transmute, |
47 | 63 | clippy::verbose_file_reads,
|
| 64 | + clippy::zero_sized_map_values, |
48 | 65 | future_incompatible,
|
49 | 66 | nonstandard_style,
|
50 | 67 | rust_2018_idioms
|
51 | 68 | )]
|
52 |
| -// END - Embark standard lints v0.3 |
| 69 | +// END - Embark standard lints v0.4 |
53 | 70 |
|
54 | 71 | #[macro_use(Deserialize, Serialize)]
|
55 | 72 | extern crate serde;
|
|
0 commit comments