Repository navigation
Add oxlint and oxfmt to the frontend - #177
Merged
Merged
Conversation
|
Important Review skippedToo many files! This PR contains 579 files, which is 479 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configuration
⛔ Files ignored due to path filters (4)
📒 Files selected for processing (579)
You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Author
|
Docs: TF-Minecraft/Docs#132 |
oxfmt formats the frontend at 120 columns; generated wiki assets under public/ and assets/ are skipped. Build runs both before the tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryanbarlow97
force-pushed
the
oxc-lint-format
branch
from
October 11, 2026 12:05
0676006 to
ab550b8
Compare
This branch was successfully deployed
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.
Adds oxlint and oxfmt to the frontend, in place of the ESLint and Prettier setups we never had (
npm run lintstill callednext lint, which Next 16 removed).npm run lint,npm run formatandnpm run format:checkinfrontend/. Build runs lint and the format check before the tests.public/andassets/are skipped.correctnessrules (with the React, Next.js, import and Vitest plugins). The React hooks rules (exhaustive-deps,set-state-in-effect,refs,purity) only warn, so their ~170 existing hits show in CI without blocking it. A few rules that don't fit this code are off:<img>for map tiles, preallocatednew Array(n), and Vitest style rules.Commits:
dayWantsmemo andarmModelstate, an unused import and parameter, redundant spreads and casts,next/linkfor an internal wiki link, keys on threePetItemcells, and the temp-dir guard in a test moved out offinally. The intentional control-character regex andthiscapture in a test have inline suppressions.tsc --noEmitis clean and all 2082 frontend tests pass locally.🤖 Generated with Claude Code