Skip to content

chore: remove dead code, debug statements, and fix lint warnings#817

Draft
Just-Insane wants to merge 2 commits into
SableClient:devfrom
Just-Insane:chore/code-cleanup
Draft

chore: remove dead code, debug statements, and fix lint warnings#817
Just-Insane wants to merge 2 commits into
SableClient:devfrom
Just-Insane:chore/code-cleanup

Conversation

@Just-Insane
Copy link
Copy Markdown
Contributor

Description

Housekeeping pass — no behaviour changes.

  • chore: Remove dead code, unused variables, leftover debug statements, and resolve inline TODOs accumulated across several feature branches.
  • fix(image): Return undefined from a useEffect cleanup to satisfy the consistent-return ESLint rule; remove an unnecessary non-null assertion.

Type of change

  • Other (chore / housekeeping — no behaviour change)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code

- Delete ~95 lines of commented-out debug/test code in ASCIILexicalTable.ts
- Remove console.warn(pronouns) debug statement in PerMessageProfileEditor.tsx
- Replace silent .catch(() => {}) with .catch(console.warn) in ThreadDrawer.tsx
- Add aria-label to icon-only delete chip in ImageTile.tsx
- Replace unexplained 'as any' cast comment in RoomCallButton.tsx with MSC4075 context
- Replace account data typing TODOs in AccountData.tsx and DevelopTools.tsx with explanatory comments
…n rule and remove unnecessary non-null assertion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant