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.
This commit is contained in:
Maurice
2026-10-18 23:16:37 +02:00
parent f458278e88
commit 17029d364a
+1 -1
View File
@@ -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 });
}