Skip to content

Lint configs#539

Merged
cm-ayf merged 4 commits intomainfrom
lint-configs
Feb 22, 2026
Merged

Lint configs#539
cm-ayf merged 4 commits intomainfrom
lint-configs

Conversation

@cm-ayf
Copy link
Copy Markdown
Owner

@cm-ayf cm-ayf commented Feb 22, 2026

No description provided.

@cm-ayf cm-ayf self-assigned this Feb 22, 2026
Copilot AI review requested due to automatic review settings February 22, 2026 17:44
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 22, 2026

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

Project Deployment Actions Updated (UTC)
comiacapay Ready Ready Preview, Comment Feb 22, 2026 5:44pm

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s lint/format configuration and applies the resulting import-sorting changes across the codebase, with a couple of small related refactors to satisfy/benefit from the new lint rules.

Changes:

  • Configure oxfmt to sort imports (and apply the new import order broadly across tests/app code).
  • Adjust oxlint plugin/rule configuration (notably removing react-perf and updating rules).
  • Minor component refactors aligned with lint/perf guidance (e.g., memoized context value; alert context shape).

Reviewed changes

Copilot reviewed 56 out of 57 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/fixtures.ts Import sorting results applied to test fixtures.
package-lock.json Lockfile update (adds hasInstallScript).
oxlint.config.ts Updates oxlint plugins/rules configuration.
drizzle/index.ts Import order adjusted.
app/routes/setup.start.ts Import order adjusted.
app/routes/setup.callback.tsx Import order adjusted.
app/routes/cron.session.ts Import order adjusted.
app/routes/auth.signout.ts Import order adjusted.
app/routes/auth.signin.ts Import order adjusted.
app/routes/auth.refresh.ts Import order adjusted; (see comment re: args type).
app/routes/auth.callback.ts Import order adjusted.
app/routes/_index.tsx Import order adjusted.
app/routes/$guildId.tsx Import order adjusted.
app/routes/$guildId.items.ts Import order adjusted.
app/routes/$guildId.items.$itemId.ts Import order adjusted.
app/routes/$guildId._index/route.tsx Import order adjusted.
app/routes/$guildId._index/loader.ts Import order adjusted.
app/routes/$guildId._index/action.ts Import order adjusted.
app/routes/$guildId._index/MutateItemDialog.tsx Import order adjusted.
app/routes/$guildId._index/CreateEventDialog.tsx Import order adjusted.
app/routes/$guildId.$eventId.tsx Import order adjusted.
app/routes/$guildId.$eventId.register._index/route.tsx Import order adjusted.
app/routes/$guildId.$eventId.register._index/clientAction.ts Import order adjusted.
app/routes/$guildId.$eventId.register._index/action.ts Import order adjusted.
app/routes/$guildId.$eventId.register._index/RegisterDisplayPanel.tsx Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/route.tsx Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/loader.ts Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/clientLoader.ts Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/clientAction.ts Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/action.ts Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/Table.client.tsx Import order adjusted; memoizes context value passed to context provider.
app/routes/$guildId.$eventId.receipts._index/Summary.tsx Import order adjusted.
app/routes/$guildId.$eventId.receipts._index/Chart.client.tsx Import order adjusted.
app/routes/$guildId.$eventId.displays.$itemId.ts Import order adjusted.
app/routes/$guildId.$eventId.discounts.ts Import order adjusted.
app/routes/$guildId.$eventId.discounts.$discountId.ts Import order adjusted.
app/routes/$guildId.$eventId._index/route.tsx Import order adjusted.
app/routes/$guildId.$eventId._index/loader.ts Import order adjusted.
app/routes/$guildId.$eventId._index/UpsertDisplayDialog.tsx Import order adjusted.
app/routes/$guildId.$eventId._index/MutateEventDialog.tsx Import order adjusted.
app/root.tsx Import order adjusted.
app/lib/sync/user.server.ts Import order adjusted.
app/lib/sync/member.server.ts Import order adjusted.
app/lib/session.server.ts Import order adjusted.
app/lib/schema.ts Import order adjusted.
app/lib/db.server.ts Import order adjusted.
app/lib/context.server.ts Import order adjusted.
app/entry.server.tsx Import order adjusted.
app/components/Navigation.tsx Import order adjusted.
app/components/ItemCard.tsx Import order adjusted.
app/components/GuildCard.tsx Import order adjusted.
app/components/EventCard.tsx Import order adjusted.
app/components/DisplayPanel.tsx Import order adjusted.
app/components/CardItemPicture.tsx Import order adjusted.
app/components/Alert.tsx Refactors context value shape (dispatch function directly) and updates consumer accordingly.
.oxfmtrc.json Enables experimental import sorting configuration.
.git-blame-ignore-revs Adds revision entry for the import-sorting formatting commit.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cm-ayf cm-ayf merged commit 7efa8e8 into main Feb 22, 2026
15 checks passed
@cm-ayf cm-ayf deleted the lint-configs branch February 22, 2026 17:48
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.

2 participants