From ef548d6aa643e0a324f3259e2e88f2a3cd5a32b4 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Tue, 10 Dec 2024 15:38:01 +0100 Subject: [PATCH] chore: remove comment --- src/rules/jsx_no_comment_text_nodes.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rules/jsx_no_comment_text_nodes.rs b/src/rules/jsx_no_comment_text_nodes.rs index afce4e12..2ade1fc4 100644 --- a/src/rules/jsx_no_comment_text_nodes.rs +++ b/src/rules/jsx_no_comment_text_nodes.rs @@ -42,7 +42,6 @@ struct JSXNoCommentTextNodesHandler; impl Handler for JSXNoCommentTextNodesHandler { fn jsx_text(&mut self, node: &JSXText, ctx: &mut Context) { - // let value = &node.inner.value; if value.starts_with("//") || value.starts_with("/*") { ctx.add_diagnostic(node.range(), CODE, MESSAGE);