From 8d1283a32a258cb0603ec3a6fefd9a17bb9e43cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 9 Oct 2026 16:52:30 +0200 Subject: [PATCH] style: format the separator guard --- src/__tests__/i18n-no-dot-separator.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/__tests__/i18n-no-dot-separator.test.ts b/src/__tests__/i18n-no-dot-separator.test.ts index 401396ae4..f464e6809 100644 --- a/src/__tests__/i18n-no-dot-separator.test.ts +++ b/src/__tests__/i18n-no-dot-separator.test.ts @@ -66,9 +66,7 @@ describe("message bundles carry no ' · ', ' — ' or ' – ' separator", () => it(`${file} has no dot or dash separator outside the allowlist`, () => { const offenders = [...values] - .filter( - ([key, value]) => hasSeparator(value) && !(key in ALLOWED), - ) + .filter(([key, value]) => hasSeparator(value) && !(key in ALLOWED)) .map(([key, value]) => `${key} = ${JSON.stringify(value)}`); expect(offenders).toEqual([]); });