Skip to content

refactor(ui): clear the remaining lint suppressions in dashboard tests and icons - #1270

Merged
TheMeinerLP merged 1 commit into
mainfrom
refactor/ui-lint-suppressions
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
refactor/ui-lint-suppressions

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The dashboard lint baseline still listed a handful of findings that were cheap to clear. Four test mocks turned an unknown error into text with String(), and several icon templates plus AllOfRenderer used an older attribute layout. The mocks now use JSON.stringify and the templates were reformatted by eslint --fix. The console view is left alone: its paragraph is whitespace sensitive, so its two suppressions stay.

Type of change

  • refactor - internal change without behaviour change

How was this tested?

  • npm run eslint over the whole frontend: clean, suppressions pruned
  • npm run typecheck: clean
  • vitest on src/anchors, src/style-gate and the touched component folders: 691 passed

No visible change.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md
  • Tests cover the change, or the change is not testable and I explained why above
  • ./gradlew build passes locally (frontend only change, not run)
  • Documentation and configuration samples are updated if the change is user-facing (not user-facing)
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

…s and icons

Drop the no-base-to-string suppressions from four test mocks by
stringifying with JSON.stringify, and let eslint --fix reformat the
icon and AllOfRenderer templates. No behaviour change. ConsoleView
keeps its two suppressions because its pre-formatted paragraph is
whitespace sensitive.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit a9c6583 Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the refactor/ui-lint-suppressions branch November 23, 2026 09:30
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