Skip to content

refactor: migrate to oxlint, oxfmt#455

Open
seongminn wants to merge 2 commits intoenhance-routingfrom
migrate-to-oxlint
Open

refactor: migrate to oxlint, oxfmt#455
seongminn wants to merge 2 commits intoenhance-routingfrom
migrate-to-oxlint

Conversation

@seongminn
Copy link
Member

✅ 작업 내용

  • biome 제거, oxlint, oxfmt 설치
  • oxc vscode 익스텐션 설치해주세요!

♾️ 기타

  • 작업하면서 너무 불편해서 그냥 바꿔버렸습니다...
  • 새 작업하실 때 여기 브랜치에서 시작하시면 나중에 충돌나는 거 방지할 수 있을 거 같아요

@vercel
Copy link

vercel bot commented Mar 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
manager Ready Ready Preview, Comment Mar 7, 2026 2:13pm
spectator Ready Ready Preview, Comment Mar 7, 2026 2:13pm

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request undertakes a significant refactoring of the project's development tooling by replacing Biome with OXLint and OXFmt. This migration streamlines the linting and formatting processes, providing a more efficient and potentially more performant code quality pipeline. The changes span across configuration files, package scripts, and minor code adjustments to align with the new toolset, enhancing the overall developer workflow.

Highlights

  • Linting and Formatting Tool Migration: The project has migrated from Biome to OXLint for linting and OXFmt for code formatting, aiming to improve developer experience and code quality.
  • Configuration Updates: The biome.json configuration file has been removed, and new .oxlintrc.json and .oxfmtrc.json files have been added to configure the new tools.
  • Script and Dependency Changes: All package.json scripts across various applications and packages have been updated to reflect the switch from Biome commands to oxlint and oxfmt. Corresponding dependencies have also been adjusted in package.json and pnpm-lock.yaml.
  • Codebase Formatting and Import Adjustments: Numerous files across the codebase have received minor formatting adjustments (e.g., quote styles, Tailwind CSS class ordering) and import reordering to comply with the new OXFmt rules.
  • Build System Integration: The turbo.json configuration has been updated to integrate the new lint and format commands, ensuring consistency across the monorepo.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .github/labeler.yml
    • Updated string literals from double quotes to single quotes.
  • .oxfmtrc.json
    • Added new configuration file for OXFmt, including settings for single quotes, import sorting, Tailwind CSS sorting, and package.json field sorting.
  • .oxlintrc.json
    • Added new configuration file for OXLint, specifying plugins (typescript, react, unicorn, jsx-a11y), rule severities, and various rule configurations.
  • apps/manager/package.json
    • Updated linting and formatting scripts from Biome to OXLint and OXFmt.
    • Reordered scripts for better organization.
  • apps/manager/postcss.config.mjs
    • Updated plugin string literal from double quotes to single quotes.
  • apps/manager/src/api/mutations/useCreateGames.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateLeagues.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreatePlayers.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateTeams.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateTimelinePK.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateTimelineReplacement.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateTimelineScore.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateTimelineStatus.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useCreateTimelineWarning.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useDeleteLeagues.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/mutations/useDeletePlayers.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/mutations/useDeleteTeams.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/mutations/useDeleteTimeline.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/mutations/useUpdateCheerTalkBlock.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/mutations/useUpdateCheerTalkUnblock.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/mutations/useUpdateGames.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useUpdateLeagueTeams.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useUpdateLeagues.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useUpdatePlayers.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/mutations/useUpdateTeams.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useCheerTalkBlock.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useCheerTalkReport.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useCheerTalks.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useGame.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useGameLineup.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useGameLineupPlaying.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useGameTimeLine.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useGames.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useLeague.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useLeagueTeams.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useLeagueTeamsPlayers.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useLeaguesHome.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/queries/useLeaguesLeague.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/queries/usePlayer.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/usePlayers.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/queries/useTeam.ts
    • Added blank lines for better import separation.
  • apps/manager/src/api/queries/useTeams.ts
    • Added a blank line for better import separation.
  • apps/manager/src/api/queryKey.ts
    • Added a blank line for better import separation.
  • apps/manager/src/app/(private)/_components/bottom-menu.tsx
    • Reordered Tailwind CSS classes.
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/_components/game-card.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/_components/match-overview.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/cheertalks/_components/cheertalk-card.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/cheertalks/_components/cheertalk-list.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/cheertalks/_components/cheertalk-tab.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/cheertalks/blocked/blocked-list.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/cheertalks/blocked/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/cheertalks/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/[gameId]/form-section.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/[gameId]/game-delete-menu.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/[gameId]/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/[gameId]/timeline/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/[gameId]/timeline/timelineClient.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/game-form/game-basic-info-step.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/game-form/game-lineup-step.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/game-form/game-video-step.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/_components/game-form/index.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/_components/game-list.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/league-form/index.tsx
    • Reordered imports.
    • Updated arrow function syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/_components/league-overview.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/_utils.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/bottom-button.tsx
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/event-record.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/index.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/sheets/AddScoreSheet.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/sheets/StatusChangeSheet.tsx
    • Reordered imports.
    • Updated type definitions for QUARTER_LABELS and PROGRESS_LABELS.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/sheets/SubstituteSheet.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/sheets/WarningSheet.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/text-record.tsx
    • Reordered imports.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline-tab/timeline-delete.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/_components/timeline.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/create-game/form-section.tsx
    • Added blank lines for import separation.
    • Updated arrow function syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/create-game/page.tsx
    • Added blank lines for import separation.
    • Updated type assertion for id.
  • apps/manager/src/app/(private)/leagues/[id]/manage/_components/form-section.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/leagues/[id]/manage/_components/league-delete.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/leagues/[id]/manage/page.tsx
    • Reordered imports.
    • Updated type assertion for id.
  • apps/manager/src/app/(private)/leagues/[id]/page.tsx
    • Added blank lines for import separation.
    • Updated type assertion for id.
  • apps/manager/src/app/(private)/leagues/_components/league-overview.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
  • apps/manager/src/app/(private)/leagues/_components/select-team.tsx
    • Added blank lines for import separation.
    • Updated array map and filter syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/create/LeagueInfo.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
  • apps/manager/src/app/(private)/leagues/create/LeagueRegister.tsx
    • Reordered imports.
    • Updated array map and filter syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/leagues/create/page.tsx
    • Added blank lines for import separation.
    • Updated arrow function syntax for consistency.
    • Adjusted maxRound initialization for robustness.
  • apps/manager/src/app/(private)/leagues/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/players/[id]/form-section.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/players/[id]/page.tsx
    • Added blank lines for import separation.
    • Updated type assertion for id.
  • apps/manager/src/app/(private)/players/[id]/player-delete-menu.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/players/_components/player-delete-dialog.tsx
    • Reordered imports.
  • apps/manager/src/app/(private)/players/_components/player-form.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/players/_components/player-list.tsx
    • Added blank lines for import separation.
    • Updated array filter and map syntax for consistency.
  • apps/manager/src/app/(private)/players/create/form-section.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/players/create/page.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/players/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(private)/teams/[id]/form-section.tsx
    • Reordered imports.
  • apps/manager/src/app/(private)/teams/[id]/page.tsx
    • Added blank lines for import separation.
    • Updated type assertion for id.
  • apps/manager/src/app/(private)/teams/[id]/team-delete-menu.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/teams/_components/player-append-dialog.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
  • apps/manager/src/app/(private)/teams/_components/team-basic-info-step.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(private)/teams/_components/team-delete-dialog.tsx
    • Reordered imports.
  • apps/manager/src/app/(private)/teams/_components/team-form.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/teams/_components/team-list.tsx
    • Updated array map syntax for consistency.
  • apps/manager/src/app/(private)/teams/_components/team-players-step.tsx
    • Added a blank line for import separation.
    • Updated array find syntax for consistency.
  • apps/manager/src/app/(private)/teams/create/form-section.tsx
    • Reordered imports.
  • apps/manager/src/app/(private)/teams/create/page.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/(private)/teams/page.tsx
    • Added blank lines for import separation.
  • apps/manager/src/app/(public)/auth/login/login-form.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
  • apps/manager/src/app/(public)/auth/login/page.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/app/(public)/auth/page.tsx
    • Added a blank line for import separation.
  • apps/manager/src/app/layout.tsx
    • Reordered imports.
  • apps/manager/src/app/provider.tsx
    • Reordered imports.
  • apps/manager/src/components/layout/header.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/manager/src/components/ui/alert-dialog.tsx
    • Reordered Tailwind CSS classes.
  • apps/manager/src/components/ui/bottom-sheet.tsx
    • Reordered Tailwind CSS classes.
  • apps/manager/src/components/ui/input-date.tsx
    • Reordered Tailwind CSS classes.
  • apps/manager/src/components/ui/input-select.tsx
    • Reordered Tailwind CSS classes.
    • Updated array map syntax for consistency.
  • apps/manager/src/components/ui/step-progress.tsx
    • Reordered Tailwind CSS classes.
  • apps/manager/src/styles/globals.css
    • Updated import string literals from double quotes to single quotes.
  • apps/manager/src/utils/form-util.ts
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/manager/tsconfig.json
    • Removed baseUrl property.
    • Updated paths to use relative paths.
  • apps/spectator/package.json
    • Updated linting and formatting scripts from Biome to OXLint and OXFmt.
    • Reordered scripts for better organization.
  • apps/spectator/postcss.config.mjs
    • Updated plugin string literal from double quotes to single quotes.
  • apps/spectator/src/api/mutations/useCreateCheerTalk.ts
    • Added a blank line for import separation.
  • apps/spectator/src/api/mutations/useUpdateGameCheer.ts
    • Added a blank line for import separation.
  • apps/spectator/src/api/queries/useGame.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGameCheer.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGameLineup.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGameLineupPlaying.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGameSearch.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGameTimeline.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGameVideo.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useGames.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useLeague.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useLeagueRecentSummary.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useLeagueStatistics.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useLeagueTeams.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useLeagueTopScorers.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useLeagues.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useTeam.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useTeamGames.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useTeamPlayers.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useTeams.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queries/useTeamsSummary.ts
    • Added blank lines for better import separation.
  • apps/spectator/src/api/queryKey.ts
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/_components/best-scorer.tsx
    • Reordered imports.
  • apps/spectator/src/app/(home)/_components/calendar-menu.tsx
    • Added a blank line for import separation.
  • apps/spectator/src/app/(home)/_components/ranking-board/list.tsx
    • Reordered imports.
  • apps/spectator/src/app/(home)/_components/ranking-board/root.tsx
    • Added a blank line for import separation.
  • apps/spectator/src/app/(home)/_components/ranking-board/title.tsx
    • Reordered imports.
  • apps/spectator/src/app/(home)/_components/recent-records.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/_components/tab-header.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/(home)/_components/tab.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/layout.tsx
    • Reordered imports.
  • apps/spectator/src/app/(home)/previous/_components/league-card-list.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/(home)/previous/_components/league-card.tsx
    • Reordered Tailwind CSS classes.
    • Removed limit prop from LeagueCardStatisticsProps interface.
  • apps/spectator/src/app/(home)/previous/_components/year-filter.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/teams/_components/match-history.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/(home)/teams/_components/score-badge.tsx
    • Reordered imports.
  • apps/spectator/src/app/(home)/teams/_components/score-list.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/teams/_components/score-modal.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/teams/_components/tab.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/(home)/teams/_components/team-card.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/(home)/teams/_components/team-filter/index.tsx
    • Reordered imports.
  • apps/spectator/src/app/(home)/teams/_components/team-filter/useTeamUnits.ts
    • Added a blank line for import separation.
    • Updated array filter syntax for consistency.
  • apps/spectator/src/app/(home)/teams/page.tsx
    • Reordered imports.
  • apps/spectator/src/app/calendar/_components/CalendarOverview.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/calendar/_components/GameCard.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/calendar/_components/calendar-grid.tsx
    • Reordered Tailwind CSS classes.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/calendar/page.tsx
    • Reordered imports.
  • apps/spectator/src/app/games/[id]/_components/banner.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/cheer-talk-form.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/cheer-talk-item.tsx
    • Added a blank line for import separation.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/cheer-talk-list.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/cheer-talk-timeline.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/index.tsx
    • Reordered imports.
    • Updated arrow function syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/useCheerTalkById.ts
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/cheer-talk/useGameTeamInfo.ts
    • Updated array findIndex syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/cheer-vs.tsx
    • Added a blank line for import separation.
    • Updated arrow function syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/lineup-tab/candidate-list.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/games/[id]/_components/lineup-tab/ground/ground.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/games/[id]/_components/lineup-tab/ground/index.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/lineup-tab/ground/team-box.tsx
    • Reordered imports.
  • apps/spectator/src/app/games/[id]/_components/lineup-tab/player-list.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/timeline-tab/_utils.tsx
    • Added a blank line for import separation.
  • apps/spectator/src/app/games/[id]/_components/timeline-tab/event-record.tsx
    • Added blank lines for import separation.
  • apps/spectator/src/app/games/[id]/_components/timeline-tab/index.tsx
    • Added blank lines for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/games/[id]/_components/timeline-tab/text-record.tsx
    • Reordered imports.
  • apps/spectator/src/app/games/[id]/_components/video-tab/index.tsx
    • Added a blank line for import separation.
  • apps/spectator/src/app/games/[id]/page.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/games/page.tsx
    • Added a blank line for import separation.
  • apps/spectator/src/app/layout.tsx
    • Reordered imports.
  • apps/spectator/src/app/leagues/[id]/_components/game-list.tsx
    • Added a blank line for import separation.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/leagues/[id]/_components/round-filter.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/leagues/[id]/_components/team-filter.tsx
    • Added a blank line for import separation.
    • Updated array filter syntax for consistency.
  • apps/spectator/src/app/leagues/[id]/page.tsx
    • Reordered imports.
  • apps/spectator/src/app/provider.tsx
    • Reordered imports.
  • apps/spectator/src/app/teams/[id]/_components/team-card.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/teams/[id]/_components/team-info.tsx
    • Reordered imports.
    • Updated array map syntax for consistency.
  • apps/spectator/src/app/teams/[id]/_components/trophy.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/app/teams/[id]/page.tsx
    • Added blank lines for import separation.
  • apps/spectator/src/components/layout/header.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/components/skeleton.tsx
    • Added a blank line for import separation.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/components/ui/game-card.tsx
    • Reordered imports.
    • Reordered Tailwind CSS classes.
  • apps/spectator/src/components/ui/tab-trigger.tsx
    • Reordered imports.
  • apps/spectator/src/hooks/useDebounce.ts
    • Removed biome-ignore comment.
  • apps/spectator/src/hooks/useIntersectionObserver.ts
    • Removed biome-ignore comment.
    • Updated array forEach syntax for consistency.
  • apps/spectator/src/hooks/useSocket.ts
    • Updated arrow function syntax for consistency.
  • apps/spectator/src/styles/globals.css
    • Updated import string literals from double quotes to single quotes.
  • apps/spectator/tsconfig.json
    • Removed baseUrl property.
    • Updated paths to use relative paths.
  • biome.json
    • Removed the Biome configuration file.
  • package.json
    • Updated lint and format scripts to use oxlint and oxfmt.
    • Removed @biomejs/biome dependency.
    • Added oxfmt, oxlint, and oxlint-tsgolint dependencies.
    • Adjusted lint-staged commands to use pnpm.
  • packages/api-base/package.json
    • Updated lint and format scripts to use oxlint and oxfmt.
    • Removed lint-staged configuration.
    • Reordered files and scripts fields.
  • packages/api-base/rollup.config.cjs
    • Updated import string literal from double quotes to single quotes.
  • packages/api-base/src/fetcher.ts
    • Added a blank line for import separation.
  • packages/icons/package.json
    • Updated lint and format scripts to use oxlint and oxfmt.
    • Removed lint-staged configuration.
    • Reordered files, scripts, and peerDependencies fields.
  • packages/icons/rollup.config.cjs
    • Updated import string literal from double quotes to single quotes.
  • packages/icons/src/components/brand/HCCLogo.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/AddCircleIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/AddIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ArrowBackIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ArrowCircleDownIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ArrowCircleUpIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CalendarMonthIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CancelIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CaptainIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ChatFillIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CheckCircleFillIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CheckCircleIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CheckSmallIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ChevronForwardIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/CloseIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ContactEmergencyIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/DeleteForeverIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/DeleteForeverOutlineIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/DragHandleIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ErrorFillIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/ErrorIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/FilterHdrIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/GroupIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/KeyboardArrowDownIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/PersonIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/RewardedAdsIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/SendFillIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/SendIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/SettingsIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/SmsIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/SportsAndOutdoorsIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/TimerOutlineIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/TradeHorizontalIcon.tsx
    • Reordered imports.
  • packages/icons/src/components/semantic/TradeIcon.tsx
    • Reordered imports.
  • packages/icons/src/icon.tsx
    • Reordered imports.
  • packages/style/css/theme.css
    • Updated hex color codes to lowercase for consistency.
    • Adjusted font-family declaration for better readability.
  • packages/style/package.json
    • Reordered files, type, sideEffects, and exports fields.
  • packages/toolkit/package.json
    • Updated lint and format scripts to use oxlint and oxfmt.
    • Removed lint-staged configuration.
    • Reordered files and scripts fields.
  • packages/toolkit/rollup.config.cjs
    • Updated import string literal from double quotes to single quotes.
  • packages/toolkit/src/utils/formatTime/formatTime.spec.ts
    • Added oxlint-disable comment for typescript/no-explicit-any.
    • Added a blank line for import separation.
  • packages/ui/package.json
    • Updated lint and format scripts to use oxlint and oxfmt.
    • Removed lint-staged configuration.
    • Reordered files and scripts fields.
  • packages/ui/rollup.config.cjs
    • Updated import string literal from double quotes to single quotes.
  • packages/ui/src/accordion/Accordion.module.css
    • Updated CSS attribute selectors from double quotes to single quotes.
  • packages/ui/src/accordion/Accordion.tsx
    • Added a blank line for import separation.
  • packages/ui/src/badge/Badge.tsx
    • Added a blank line for import separation.
  • packages/ui/src/bottom-sheet/BottomSheet.tsx
    • Added a blank line for import separation.
  • packages/ui/src/button/Button.module.css
    • Adjusted CSS transition property for better readability.
  • packages/ui/src/button/Button.tsx
    • Added a blank line for import separation.
  • packages/ui/src/input/Input.module.css
    • Adjusted CSS transition property and selector for better readability.
  • packages/ui/src/input/Input.tsx
    • Added a blank line for import separation.
  • packages/ui/src/modal/Modal.module.css
    • Adjusted CSS keyframe declarations for better readability.
  • packages/ui/src/modal/Modal.tsx
    • Added a blank line for import separation.
  • packages/ui/src/select/Select.module.css
    • Adjusted CSS transition property for better readability.
  • packages/ui/src/select/Select.tsx
    • Removed fontSize prop from SelectProps interface and its default value.
  • packages/ui/src/spinner/Spinner.module.css
    • Adjusted CSS keyframe declarations for better readability.
  • packages/ui/src/spinner/Spinner.tsx
    • Added a blank line for import separation.
    • Updated className assignment to correctly apply external classes.
  • packages/ui/src/toast/Toast.tsx
    • Reordered imports.
  • packages/ui/src/typography/Typography.module.css
    • Adjusted CSS font-size property for better readability.
  • packages/ui/src/typography/Typography.tsx
    • Added a blank line for import separation.
  • pnpm-lock.yaml
    • Removed Biome-related dependencies.
    • Added OXLint/OXFmt related dependencies.
  • tooling/rollup-config/base.js
    • Updated array some syntax for consistency.
  • tooling/rollup-config/package.json
    • Reordered files field.
  • tooling/rollup-config/ui.js
    • Updated array some syntax for consistency.
  • tooling/typescript-config/package.json
    • Reordered description field.
  • turbo.json
    • Updated lint and format tasks to use oxlint and oxfmt commands respectively.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/labeler.yml
Activity
  • The author, seongminn, initiated this pull request to migrate the project's linting and formatting tools from Biome to OXLint and OXFmt.
  • The author noted that the previous Biome setup was inconvenient, prompting this change.
  • The author suggested that new development should start from this branch to avoid potential merge conflicts later, indicating the foundational nature of this refactoring.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이 PR은 린팅 및 포매팅 도구를 Biome에서 oxlintoxfmt로 마이그레이션하는 리팩터링 작업을 포함하고 있습니다. 전반적으로 설정 파일 추가, package.json 스크립트 수정, 그리고 새로운 포매터에 따른 코드 스타일 변경이 대부분을 차지합니다. 몇 가지 설정상의 잠재적인 문제점과 성능에 영향을 줄 수 있는 부분을 발견하여 코멘트를 남겼습니다. 특히, 접근성(a11y) 관련 린트 규칙이 비활성화된 부분은 중요한 문제이므로 확인이 필요해 보입니다.

Note: Security Review did not run due to the size of the PR.

Comment on lines +35 to +38
"jsx-a11y/button-has-type": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/alt-text": "off"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

여러 중요한 웹 접근성(jsx-a11y) 규칙들이 비활성화되어 있습니다. 특히 button-has-type, click-events-have-key-events, label-has-associated-control, alt-text와 같은 규칙을 끄면 장애가 있는 사용자들이 애플리케이션을 사용하는 데 어려움을 겪을 수 있습니다. 이 규칙들을 다시 활성화하고 관련 문제들을 수정하는 것을 강력히 권장합니다.

Comment on lines +21 to +25
"sortTailwindcss": {
"stylesheet": "./apps/spectator/src/styles/globals.css",
"functions": ["clsx", "cn"],
"preserveWhitespace": true
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

sortTailwindcss.stylesheet 설정이 spectator 앱의 CSS 파일 하나만 가리키고 있습니다. manager 앱도 Tailwind CSS를 사용하고 자체 globals.css 파일이 있는데, 이 설정으로는 manager 앱의 클래스가 올바르게 정렬되지 않을 수 있습니다. oxfmt가 여러 경로를 지원한다면 두 앱의 CSS 파일을 모두 포함하는 것이 좋겠습니다. 만약 단일 경로만 지원한다면, 이 제한 사항을 인지하고 있어야 합니다.

Comment on lines +65 to +72
{days.map((day) => {
const isSelected = day === selectedDay;
const hasGame = day !== null && gameDates.includes(day);
return (
<div key={d ? `date-${year}-${month}-${d}` : `empty-${i}`} className="h-10">
{d ? (
<div
key={day ? `date-${year}-${month}-${day}` : `empty-${new Date().getTime()}`}
className="h-10"
>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

map 함수 내에서 key 값으로 new Date().getTime()을 사용하는 것은 좋지 않습니다. 렌더링할 때마다 새로운 키가 생성되어 React가 컴포넌트를 새로 마운트하게 되므로, 성능 저하 및 상태 유실의 원인이 될 수 있습니다. 안정적인 key를 사용해야 합니다. 빈 셀의 경우 mapindex를 사용하는 것이 더 나은 방법입니다.

Suggested change
{days.map((day) => {
const isSelected = day === selectedDay;
const hasGame = day !== null && gameDates.includes(day);
return (
<div key={d ? `date-${year}-${month}-${d}` : `empty-${i}`} className="h-10">
{d ? (
<div
key={day ? `date-${year}-${month}-${day}` : `empty-${new Date().getTime()}`}
className="h-10"
>
{days.map((day, index) => {
const isSelected = day === selectedDay;
const hasGame = day !== null && gameDates.includes(day);
return (
<div
key={day ? `date-${year}-${month}-${day}` : `empty-${index}`}
className="h-10"
>

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