deepseek-harness/packages/client/web/src
imccyu cdd4d59ea0 chore(lint): clear the semantic .tsx backlog
Hand fixes for the findings --fix cannot touch, mirroring the fixes
already applied on the fe-docs feature branch (same file, same shape)
so its eventual rebase resolves cleanly:

- restore the return the no-confusing-void-expression autofix ate in
  useAbsentSnapshot (typed S | undefined; hook call kept for hook-order
  stability, undefined returned explicitly);
- re-type DOM queries the no-unnecessary-type-assertion autofix broke:
  getByRole<HTMLButtonElement>(...) generics instead of the removed
  as-casts (the eslint program and the client tsconfig aggregate
  disagree about these casts; the generic form satisfies both);
- justified eslint-disable for the deliberate legacy paths: keyCode 229
  IME-composition detection, execCommand clipboard fallbacks, lib.dom
  clipboard optionality, and the any-typed Reflect.get/this probes in
  test fakes;
- drop the dead react/no-danger directive (eslint-plugin-react is not
  loaded, so the rule never applied) keeping its shiki rationale;
- delete the tautological 'Z' comparison and the renameTarget null
  check already implied by renameBlocked;
- css-module non-null assertions replaced by type widening
  (Button className, TAG_CLASS Record) per the established pattern;
- misc: max-len comment wraps, void generic drop in the deferred test
  helper, unused type imports, floating selectWorkspace promises voided,
  member-delimiter newlines in inline type literals.
2026-07-27 22:23:41 +08:00
..
app-shell.ts Trim redundant source comments 2026-07-25 13:02:37 +08:00
app.tsx chore(lint): clear the semantic .tsx backlog 2026-07-27 22:23:41 +08:00
AppRoot.module.css feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00
AppRoot.tsx chore(lint): apply eslint auto-fixes across the .tsx backlog 2026-07-27 21:49:40 +08:00
base.css feat(web): shiki syntax highlighting for code surfaces 2026-07-26 09:52:37 +08:00
boot.tsx chore(lint): apply eslint auto-fixes across the .tsx backlog 2026-07-27 21:49:40 +08:00
css-modules.d.ts feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00
DocumentTitle.tsx feat(web): render durable session titles 2026-07-22 23:43:53 +08:00
index.ts refactor(web): collapse the shell boot into the AppWebEntry class 2026-07-25 10:23:40 +08:00
invariant.ts feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00
loader-status.ts chore(lint): declare contract callbacks property-style 2026-07-27 22:23:10 +08:00
platform.ts Trim redundant source comments 2026-07-25 13:02:37 +08:00
seed.ts refactor(gui): rebuild the client loading kernel as dsh-client-modules with a two-phase boot 2026-07-24 02:09:42 +08:00