Skip to content

Commit

Permalink
Add lints v0.2
Browse files Browse the repository at this point in the history
Part of #59
  • Loading branch information
repi committed Mar 6, 2021
1 parent c75b14f commit ba64053
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions lints.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// BEGIN - Embark standard lints v0.2
// 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)]
#![warn(
clippy::all,
clippy::await_holding_lock,
clippy::dbg_macro,
clippy::debug_assert_with_mut_call,
clippy::doc_markdown,
clippy::empty_enum,
clippy::enum_glob_use,
clippy::exit,
clippy::explicit_into_iter_loop,
clippy::filter_map_next,
clippy::fn_params_excessive_bools,
clippy::if_let_mutex,
clippy::imprecise_flops,
clippy::inefficient_to_string,
clippy::let_unit_value,
clippy::linkedlist,
clippy::lossy_float_literal,
clippy::macro_use_imports,
clippy::map_flatten,
clippy::map_unwrap_or,
clippy::match_on_vec_items,
clippy::match_wildcard_for_single_variants,
clippy::mem_forget,
clippy::mismatched_target_os,
clippy::needless_borrow,
clippy::needless_continue,
clippy::option_option,
clippy::pub_enum_variant_names,
clippy::ref_option_ref,
clippy::rest_pat_in_fully_bound_structs,
clippy::string_to_string,
clippy::suboptimal_flops,
clippy::todo,
clippy::unnested_or_patterns,
clippy::unused_self,
clippy::verbose_file_reads,
future_incompatible,
nonstandard_style,
rust_2018_idioms
)]
// END - Embark standard lints v0.2
// crate-specific exceptions:
#![allow()]

0 comments on commit ba64053

Please sign in to comment.