From cbbae567ae9de1619fc5f97e8ba2951764baa282 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 3 Apr 2025 12:06:31 +0200 Subject: [PATCH 1/8] Use third-person singular verbs --- packages/interactivity-router/src/assets/scs.ts | 2 +- packages/interactivity-router/src/assets/styles.ts | 14 +++++++------- .../src/assets/test/scs.test.ts | 3 ++- .../src/assets/test/styles.test.ts | 9 ++++++--- packages/interactivity-router/src/index.ts | 2 +- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/packages/interactivity-router/src/assets/scs.ts b/packages/interactivity-router/src/assets/scs.ts index a4f5505af075df..af1377baf70ac5 100644 --- a/packages/interactivity-router/src/assets/scs.ts +++ b/packages/interactivity-router/src/assets/scs.ts @@ -1,5 +1,5 @@ /** - * Calculate the Shortest Common Supersequence (SCS) of two sequences. + * Calculates the Shortest Common Supersequence (SCS) of two sequences. * * A supersequence is a sequence that contains both input sequences as subsequences. * The shortest common supersequence is the shortest possible such sequence. diff --git a/packages/interactivity-router/src/assets/styles.ts b/packages/interactivity-router/src/assets/styles.ts index 3278da977a1535..2f04f24f3879fc 100644 --- a/packages/interactivity-router/src/assets/styles.ts +++ b/packages/interactivity-router/src/assets/styles.ts @@ -6,7 +6,7 @@ import { shortestCommonSupersequence } from './scs'; export type StyleElement = HTMLLinkElement | HTMLStyleElement; /** - * Compare the passed style or link elements to check if they can be + * Compares the passed style or link elements to check if they can be * considered equal. * * @param a `