From 76fdf5b11df4d4873beebe727854c6f104d33bf5 Mon Sep 17 00:00:00 2001 From: Cameron McHenry Date: Sat, 21 Sep 2024 11:05:44 -0400 Subject: [PATCH] Apply lint fixes --- .../unicorn/prefer_string_starts_ends_with.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs b/crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs index f86902ed3cd815..359ed4cbc11673 100644 --- a/crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs +++ b/crates/oxc_linter/src/rules/unicorn/prefer_string_starts_ends_with.rs @@ -155,22 +155,21 @@ fn check_regex(regexp_lit: &RegExpLiteral, pattern_text: &str) -> Option