@@ -60,16 +60,21 @@ fn dogfood() {
60
60
const DENY_LINTS : & [ & str ] = & [
61
61
"unfulfilled_lint_expectations" ,
62
62
"clippy::all" ,
63
+ "clippy::nursery" ,
63
64
"clippy::pedantic" ,
64
65
"clippy::dbg_macro" ,
65
- "clippy::decimal_literal_representation" ,
66
- "clippy::derive_partial_eq_without_eq" ,
67
- "clippy::iter_on_empty_collections" ,
68
- "clippy::iter_on_single_items" ,
69
- "clippy::needless_pass_by_ref_mut" ,
70
- "clippy::significant_drop_tightening" ,
71
- "clippy::tuple_array_conversions" ,
72
- "clippy::useless_let_if_seq" ,
66
+ ] ;
67
+
68
+ const ALLOW_LINTS : & [ & str ] = & [
69
+ "clippy::equatable_if_let" ,
70
+ "clippy::iter_with_drain" ,
71
+ "clippy::missing_const_for_fn" ,
72
+ "clippy::option_if_let_else" ,
73
+ "clippy::or_fun_call" ,
74
+ "clippy::redundant_clone" ,
75
+ "clippy::redundant_pub_crate" ,
76
+ "clippy::too_long_first_doc_paragraph" ,
77
+ "clippy::use_self" ,
73
78
] ;
74
79
75
80
#[ must_use]
@@ -102,6 +107,10 @@ fn run_clippy_for_package(project: &str) -> bool {
102
107
command. args ( [ "-D" , lint] ) ;
103
108
}
104
109
110
+ for lint in ALLOW_LINTS {
111
+ command. args ( [ "-A" , lint] ) ;
112
+ }
113
+
105
114
if !cfg ! ( feature = "internal" ) {
106
115
// running a clippy built without internal lints on the clippy source
107
116
// that contains e.g. `allow(clippy::symbol_as_str)`
0 commit comments