From 035f66c31d4efded59670027dde8dd3ec76db3be Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:03:22 -0700 Subject: [PATCH] fix lint --- packages/eslint-plugin/src/rules/expect.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/eslint-plugin/src/rules/expect.ts b/packages/eslint-plugin/src/rules/expect.ts index b090179e97..b1e6e14de2 100644 --- a/packages/eslint-plugin/src/rules/expect.ts +++ b/packages/eslint-plugin/src/rules/expect.ts @@ -273,7 +273,9 @@ function walk( if (!semver.satisfies(versionName, match[1].trim(), { loose: true })) { continue; } - } catch {} + } catch { + // Ignore any parsing errors. + } } }