Skip to content

chore(repo): Add oxlint, oxfmt, and CI workflow#9

Merged
Zach Dunn (zachdunn) merged 2 commits into
mainfrom
feat/oxlint-oxfmt
Jul 7, 2026
Merged

chore(repo): Add oxlint, oxfmt, and CI workflow#9
Zach Dunn (zachdunn) merged 2 commits into
mainfrom
feat/oxlint-oxfmt

Conversation

@zachdunn

Copy link
Copy Markdown
Member

Summary

  • Add oxlint (type-aware lint via oxlint-tsgolint) and oxfmt across the workspace, following the same config pattern as either and releases
  • Add root scripts: pnpm lint, pnpm format, pnpm check
  • Add GitHub Actions CI with lint/format and @uploads/storage test jobs
  • Run pnpm types in CI before oxlint because worker-configuration.d.ts is gitignored

Lint fixes

  • Remove unreachable return in CLI main
  • Fix unnecessary regex escape in file key validation

Test plan

  • pnpm types && pnpm check passes locally
  • pnpm --filter @uploads/storage test passes (19 tests)
  • CI green on this PR

Introduce type-aware linting and formatting across the workspace, matching
the either/releases toolchain. CI runs pnpm types before oxlint because
worker-configuration.d.ts is gitignored.
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (2)
  • coderabbit:review
  • review
🚫 Excluded labels (none allowed) (1)
  • wip

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 53fb7467-f22b-485c-afbb-604737fce2a7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/oxlint-oxfmt

Comment @coderabbitai help to get the list of available commands.

@zachdunn Zach Dunn (zachdunn) changed the title Add oxlint, oxfmt, and CI workflow chore(repo): Add oxlint, oxfmt, and CI workflow Jul 7, 2026
Resolve conflicts in CLI exports and commands from #8 (GitHub
attachments). Fix no-array-sort in github.ts, extend CI to run uploads
package tests, and add uploads/test to oxlint overrides.
@zachdunn Zach Dunn (zachdunn) merged commit 999da73 into main Jul 7, 2026
3 checks passed
@zachdunn Zach Dunn (zachdunn) deleted the feat/oxlint-oxfmt branch July 7, 2026 23:01
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