From 6b27e5f9325e7c4e51be201d28a92924fb2fd611 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Mon, 17 Aug 2026 09:45:57 -0400 Subject: [PATCH] chore: ignore the web client's tsup build output in ESLint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit clients/web emits two bundles — dist (the Vite SPA) and build (the tsup prod-server runner) — but only dist was in globalIgnores, so `npm run lint` parsed ~1.2MB of generated output and reported an unused-eslint-disable warning from inside the vendored undici source. Its three sibling clients already ignore their build/ output. Closes #2043 Signed-off-by: cliffhall --- clients/web/eslint.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clients/web/eslint.config.js b/clients/web/eslint.config.js index 21726da5..bdc636bb 100644 --- a/clients/web/eslint.config.js +++ b/clients/web/eslint.config.js @@ -9,7 +9,12 @@ import tseslint from "typescript-eslint"; import { defineConfig, globalIgnores } from "eslint/config"; export default defineConfig([ - globalIgnores(["dist", "storybook-static", "coverage"]), + // Generated output, none of it first-party source. Web is the only client + // that emits *two* bundles — `dist` (the Vite SPA) and `build` (the tsup + // prod-server runner, which vendors ~1.2MB of `undici`) — and only the first + // was originally listed, so `lint` reported a warning from inside undici's + // own source that nobody could act on (#2043). + globalIgnores(["build", "dist", "storybook-static", "coverage"]), { files: ["**/*.{ts,tsx}"], extends: [