Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

ci(lint): lintTextClient stays inside the client ratchet

Maurice17029d364ac2
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 });
}