diff --git a/cli/src/debug/mod.rs b/cli/src/debug/mod.rs
index a093f76a40..a69bb467a4 100644
--- a/cli/src/debug/mod.rs
+++ b/cli/src/debug/mod.rs
@@ -66,7 +66,7 @@ fn create_boa_object(context: &mut Context) -> JsObject {
.build()
}
-#[allow(clippy::redundant_pub_crate)]
+#[expect(clippy::redundant_pub_crate)]
pub(crate) fn init_boa_debug_object(context: &mut Context) {
let boa_object = create_boa_object(context);
context
diff --git a/cli/src/helper.rs b/cli/src/helper.rs
index ae56c98f41..b94995a69b 100644
--- a/cli/src/helper.rs
+++ b/cli/src/helper.rs
@@ -35,7 +35,7 @@ const IDENTIFIER_COLOR: Color = Color::TrueColor {
const READLINE_COLOR: Color = Color::Cyan;
-#[allow(clippy::upper_case_acronyms, clippy::redundant_pub_crate)]
+#[expect(clippy::redundant_pub_crate)]
#[derive(Completer, Helper, Hinter)]
pub(crate) struct RLHelper {
highlighter: LineHighlighter,
@@ -72,7 +72,7 @@ impl Highlighter for RLHelper {
}
// Must match signature of Highlighter::highlight_prompt, can't elide lifetimes.
- #[allow(single_use_lifetimes)]
+ #[expect(single_use_lifetimes)]
fn highlight_prompt<'b, 's: 'b, 'p: 'b>(
&'s self,
prompt: &'p str,
@@ -169,7 +169,7 @@ impl Highlighter for LineHighlighter {
impl Replacer for Colorizer {
// Changing to map_or_else moves the handling of "identifier" after all other kinds,
// which reads worse than this version.
- #[allow(clippy::option_if_let_else)]
+ #[expect(clippy::option_if_let_else)]
fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut String) {
let colored = if let Some(cap) = caps.name("identifier") {
let cap = cap.as_str();
diff --git a/cli/src/main.rs b/cli/src/main.rs
index 899b73f313..3a53399075 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -53,12 +53,12 @@ static ALLOC: dhat::Alloc = dhat::Alloc;
/// CLI configuration for Boa.
static CLI_HISTORY: &str = ".boa_history";
-// Added #[allow(clippy::option_option)] because to StructOpt an Option