@@ -19,11 +19,8 @@ export default tseslint.config({
1919 '**/.next' ,
2020 '**/node_modules' ,
2121 '**/public' ,
22- // fumadocs-mdx codegen for apps/site (gitignored — see apps/site/.gitignore).
23- // Linting generated output only reports on the generator's choices.
24- '**/.source' ,
25- // objectui#8592 — the three remaining build artefacts that `eslint .`
26- // still walked. Same principle as `**/.source` and `**/dist` directly
22+ // objectui#8592 — the remaining build artefacts that `eslint .`
23+ // still walked. Same principle as `**/dist` directly
2724 // above: linting generated output only reports on the generator's
2825 // choices, and the report names a file:line nobody wrote. Measured on
2926 // 290de3724 after a full `turbo run build`:
@@ -32,7 +29,7 @@ export default tseslint.config({
3229 // reported 0 in the same invocation — the two zeros are what make the 1
3330 // a reading rather than a broken invocation.
3431 //
35- // Why three literal paths and not a `.gitignore` import: the claim this
32+ // Why literal paths and not a `.gitignore` import: the claim this
3633 // change has to keep true is that ONLY git-ignored build output leaves
3734 // the linted population and not one source file does. A literal path is
3835 // auditable one entry at a time against `git check-ignore` /
@@ -47,13 +44,10 @@ export default tseslint.config({
4744 // `tsc -p tsconfig.plugin.json` (apps/console `build:plugin`),
4845 // git-ignored at `apps/console/.gitignore` under "Compiled plugin
4946 // output".
50- // - `apps/site/next-env.d.ts` — minted by Next's build/typegen,
51- // git-ignored at `apps/site/.gitignore`.
5247 // ⛔ Not a suppression at the report's site: the files are regenerated on
5348 // every build, so an inline disable would vanish and the finding return.
5449 'apps/console/plugin.js' ,
5550 'apps/console/plugin.d.ts' ,
56- 'apps/site/next-env.d.ts' ,
5751 ] ,
5852} , {
5953 // objectui#4853 — a stale `eslint-disable` is an ERROR, not a warning.
0 commit comments