Skip to content

Commit

Permalink
chore(linter): remove some unused commented code (#7800)
Browse files Browse the repository at this point in the history
  • Loading branch information
camc314 committed Dec 11, 2024
1 parent 06e6d38 commit 38ba2f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/oxc_linter/src/rules/unicorn/prefer_query_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ impl Rule for PreferQuerySelector {
return fixer.replace(property_span, *preferred_selector);
}

// let source_text =
// argument_expr.span().source_text(ctx.source_text());
let source_text = fixer.source_range(argument_expr.span());
let quotes_symbol = source_text.chars().next().unwrap();
let argument = match *cur_property_name {
Expand Down

0 comments on commit 38ba2f6

Please sign in to comment.