Repository navigation
chore(ui): remove the unused ESLint and Prettier toolchain - #620
Merged
Merged
Conversation
The UI lints and formats with Biome. Drop the ESLint and Prettier devDependencies, their leftover config files and the eslint directive comments, none of which Biome reads. Biome already disables the rules those comments silenced, or they are not in its recommended set. Drop the pnpm-workspace overrides for ajv, brace-expansion, braces, cross-spawn, js-yaml, micromatch and minimatch: only ESLint pulled them in and pnpm why no longer finds them. Keep eslint.ignoreDuringBuilds in next.config.js so next build skips its own ESLint step, and point the taskipy help text at Biome. Refs #618
Drop the picomatch@<2.3.2 override: picomatch 2.x only came in through the ESLint tree, and only 4.0.7 remains. Explain in plain comments what the removed eslint markers covered: the keys react-table supplies through get*Props(), the config and theme fixed at first render, and form.queryType as a re-run trigger for getDirective(). Give the real reason next build keeps eslint.ignoreDuringBuilds: Next looks for an ESLint config up through parent directories. Fix the pnpm task help and the changelog wording. Refs #618
jsenecal
marked this pull request as ready for review
November 25, 2026 20:24
WilhelmZA
reviewed
Nov 25, 2026
WilhelmZA
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed at 24a632d0.
GitHub marks the head merge commit as unverified because the commit email is not verified. Please recreate the merge commit using a verified commit email, sign it, and push again. Every commit must show as verified before approval.
jsenecal
force-pushed
the
chore/618-drop-eslint-prettier
branch
from
November 25, 2026 20:45
24a632d to
db47550
Compare
Collaborator
Author
|
Thanks. The merge commit was made with a wrong local commit email. It's recreated with the verified address and signed, with the same parents and the same tree, so the content is unchanged. The new head is |
WilhelmZA
approved these changes
Nov 25, 2026
WilhelmZA
left a comment
Collaborator
There was a problem hiding this comment.
Approving at db475506.
Checked the toolchain removal, lockfile and CI; all commits now verify.
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.
Closes #618
The UI lints and formats with Biome, so this removes the ESLint and Prettier toolchain that nothing used any more.
What nothing depended on
.vscode/settings.jsonand the rootbiome.jsonrefer only to Biome..eslintrc-delete.jsand.eslintignore-deletehad been renamed so ESLint would not find them, and Prettier was never run.next build(Next 15.5.28) runs its own ESLint step unlesseslint.ignoreDuringBuildsis set. That step looks for an ESLint config up through parent directories, so a stray.eslintrc*above the runtime build workspace would fail the build with "ESLint must be installed".next.config.jsalready sets the flag, so it stays, with a comment saying why. The build output shows "Skipping linting".Changes
eslint,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,babel-eslint,eslint-config-prettier,eslint-import-resolver-typescript, the sixeslint-plugin-*packages,prettierandprettier-eslintfrom devDependencies..eslintrc-delete.js,.eslintignore-delete,.prettierrcand.prettierignore.eslint-disablecomments. Biome never read them, and none needed a Biome equivalent:useExhaustiveDependenciesandnoBannedTypesare off inbiome.json, and the hooks-order, no-console and jsx-key rules are not in Biome 1.5.3's recommended set.pnpm run lintstays clean without them. Where a marker covered a deliberate choice, a plain comment now explains it: react-table supplies row and cell keys throughget*Props(), the provider fixes the config and theme at first render, andform.queryTypetriggers a re-run ofgetDirective().pnpm-workspace.yamloverrides forajv,brace-expansion,braces,cross-spawn,js-yaml,micromatch,minimatchandpicomatch(its<2.3.2range). Only ESLint pulled in these versions.pnpm whyfinds none of the other packages, and the only picomatch left is 4.0.7 (through vite), outside that range.ui-formatandui-lintfrom Prettier and ESLint to Biome, and thepnpmtask's help from yarn to pnpm.The lockfile was regenerated with pnpm 11.28.11, the version CI and the Dockerfile use. It only loses entries: 259 packages go, and no package is added or changes version.
Checks
In
hyperglass/ui:pnpm test(1076 passed),pnpm run format:check,pnpm run lint,tsc --noEmitandnext buildwith static export all pass. The backend suite passes too (4670 passed, 4 skipped).