From 763d7a369d218ddaca9403c5c9b033901737ef47 Mon Sep 17 00:00:00 2001 From: Bartek Date: Fri, 2 Oct 2026 12:33:38 +0200 Subject: [PATCH] Fix the ESLint findings in the Floating UI code and the markup-classes gate --- .build/check-markup-classes.ts | 4 ++-- core/js/src/bootstrap/dropdown.ts | 4 ++-- core/js/src/bootstrap/tooltip.ts | 2 +- core/js/src/bootstrap/util/floating-ui.ts | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.build/check-markup-classes.ts b/.build/check-markup-classes.ts index c21605b4e..934764c16 100644 --- a/.build/check-markup-classes.ts +++ b/.build/check-markup-classes.ts @@ -30,7 +30,7 @@ const CLASS_SELECTOR = new RegExp(String.raw`\.(-?(?:${ESCAPE}|[_a-zA-Z\u00a0-\u const decodeIdent = (ident: string): string => ident.replace(/\\([0-9a-fA-F]{1,6})[ \t\r\n\f]?|\\(.)/g, (_, hex: string | undefined, char: string | undefined) => (hex === undefined ? char! : String.fromCodePoint(parseInt(hex, 16)))) -const classNamesIn = (css: string): string[] => [...css.matchAll(CLASS_SELECTOR)].map((m) => decodeIdent(m[1]!)) +const classNamesIn = (css: string): string[] => [...css.matchAll(CLASS_SELECTOR)].map((m) => decodeIdent(m[1])) const args = process.argv.slice(2) const htmlTargets: string[] = [] @@ -84,7 +84,7 @@ const main = async () => { pageCount++ // Page-level