@@ -60,15 +60,23 @@ fn dogfood() {
6060const DENY_LINTS : & [ & str ] = & [
6161 "unfulfilled_lint_expectations" ,
6262 "clippy::all" ,
63+ "clippy::nursery" ,
6364 "clippy::pedantic" ,
6465 "clippy::dbg_macro" ,
6566 "clippy::decimal_literal_representation" ,
66- "clippy::derive_partial_eq_without_eq" ,
67- "clippy::iter_on_single_items" ,
68- "clippy::needless_pass_by_ref_mut" ,
69- "clippy::significant_drop_tightening" ,
70- "clippy::tuple_array_conversions" ,
71- "clippy::useless_let_if_seq" ,
67+ ] ;
68+
69+ const ALLOW_LINTS : & [ & str ] = & [
70+ "clippy::equatable_if_let" ,
71+ "clippy::iter_on_empty_collections" ,
72+ "clippy::iter_with_drain" ,
73+ "clippy::missing_const_for_fn" ,
74+ "clippy::option_if_let_else" ,
75+ "clippy::or_fun_call" ,
76+ "clippy::redundant_clone" ,
77+ "clippy::redundant_pub_crate" ,
78+ "clippy::too_long_first_doc_paragraph" ,
79+ "clippy::use_self" ,
7280] ;
7381
7482#[ must_use]
@@ -101,6 +109,10 @@ fn run_clippy_for_package(project: &str) -> bool {
101109 command. args ( [ "-D" , lint] ) ;
102110 }
103111
112+ for lint in ALLOW_LINTS {
113+ command. args ( [ "-A" , lint] ) ;
114+ }
115+
104116 if !cfg ! ( feature = "internal" ) {
105117 // running a clippy built without internal lints on the clippy source
106118 // that contains e.g. `allow(clippy::symbol_as_str)`
0 commit comments