From 17029d364ac2acdb77920581eaf3df82dc4950a6 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 18 Oct 2026 23:16:37 +0200 Subject: [PATCH] ci(lint): lintTextClient stays inside the client ratchet Only check() uses it, as its default; exported it was an unused export to knip, which turned the server quality job on dev red. --- client/scripts/lib/eslint-warnings.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/lib/eslint-warnings.mjs b/client/scripts/lib/eslint-warnings.mjs index d1fade0c8..7b678e286 100644 --- a/client/scripts/lib/eslint-warnings.mjs +++ b/client/scripts/lib/eslint-warnings.mjs @@ -205,7 +205,7 @@ async function reportNew(grown, { root, files, lintText, error }) { } /** Lints one file's text with the client's own config, for newWarningsOf. */ -export function lintTextClient(root) { +function lintTextClient(root) { const eslint = new ESLint({ cwd: root }); return (text, filePath) => eslint.lintText(text, { filePath }); }