Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Dec 10, 2024
1 parent af4f455 commit ef548d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rules/jsx_no_comment_text_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ef548d6

Please sign in to comment.