Repository navigation
refactor(ui): clear the remaining lint suppressions in dashboard tests and icons - #1270
Merged
Merged
Conversation
…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>
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 changeHow was this tested?
npm run eslintover the whole frontend: clean, suppressions prunednpm run typecheck: cleanNo visible change.
Checklist
CLAUDE.md./gradlew buildpasses locally (frontend only change, not run)