Replace Prettier and ESLint with Biome #52

Merged
miro merged 3 commits from claude/prettier-to-biome-fa733b into main 2026-10-10 21:16:00 +00:00
Owner

Replaces Prettier and ESLint with Biome (2.5.15), configured once at the repo root.

  • Removed prettier, prettier-plugin-tailwindcss, eslint, eslint-plugin-react-hooks and typescript-eslint, along with their config files.
  • pnpm lint runs biome lint .; format and format:check run Biome's formatter. The turbo lint task is gone.
  • Lint rules: Biome's recommended preset, with a11y and a few noisy rules off. useHookAtTopLevel and useExhaustiveDependencies replace the react-hooks rules.
  • Tailwind class sorting uses Biome's nursery useSortedClasses, which is less capable than the Prettier plugin.
  • The nested packages/utils/biome.json is folded into the root config.
  • Source files are reformatted to Biome's output.

Two useExhaustiveDependencies warnings remain in ui/sidebar.tsx (setOpenMobile, likely a false positive).

Replaces Prettier and ESLint with Biome (2.5.15), configured once at the repo root. - Removed `prettier`, `prettier-plugin-tailwindcss`, `eslint`, `eslint-plugin-react-hooks` and `typescript-eslint`, along with their config files. - `pnpm lint` runs `biome lint .`; `format` and `format:check` run Biome's formatter. The turbo `lint` task is gone. - Lint rules: Biome's recommended preset, with a11y and a few noisy rules off. `useHookAtTopLevel` and `useExhaustiveDependencies` replace the react-hooks rules. - Tailwind class sorting uses Biome's nursery `useSortedClasses`, which is less capable than the Prettier plugin. - The nested `packages/utils/biome.json` is folded into the root config. - Source files are reformatted to Biome's output. Two `useExhaustiveDependencies` warnings remain in `ui/sidebar.tsx` (`setOpenMobile`, likely a false positive).
Enable useParseIntRadix
All checks were successful
CI / typecheck (pull_request) Successful in 26s
CI / lint (pull_request) Successful in 42s
CI / format (pull_request) Successful in 43s
CI / test (pull_request) Successful in 45s
CI / knip (pull_request) Successful in 46s
CI / build (pull_request) Successful in 31s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 32s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 27s
CI / manifest (pull_request) Has been skipped
E2E / playwright (pull_request) Successful in 49s
00069eb563
miro merged commit da2c272cb6 into main 2026-10-10 21:16:00 +00:00
miro deleted branch claude/prettier-to-biome-fa733b 2026-10-10 21:16:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miro/files!52
No description provided.