Skip to content

Use oxc for linting/formatting#41

Open
IzumiSy wants to merge 5 commits intomainfrom
use_ox_series
Open

Use oxc for linting/formatting#41
IzumiSy wants to merge 5 commits intomainfrom
use_ox_series

Conversation

@IzumiSy
Copy link
Contributor

@IzumiSy IzumiSy commented Mar 2, 2026

Replace ESLint and Prettier with oxlint and oxfmt from the oxc project.

Why

  • Performance: oxlint/oxfmt are written in Rust and finish in ~30ms across the entire codebase. Benchmarks suggest oxlint is faster than Biome as well. I am satisified with the speed enough.
  • Simpler config: No plugin dependency chains — each package has a small self-contained .oxlintrc.jsonc
  • Fewer dependencies: Removes a large number of ESLint-related packages (~2,000 lines removed from lockfile)

@IzumiSy IzumiSy self-assigned this Mar 2, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@tailor-platform/app-shell@41
npm i https://pkg.pr.new/@tailor-platform/app-shell-vite-plugin@41

commit: 8a43c5e

@IzumiSy IzumiSy changed the title Use oxlint/oxfmt Use oxc for linting/formatting Mar 2, 2026
@IzumiSy IzumiSy marked this pull request as ready for review March 2, 2026 14:26
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": [".github/workflows/*.lock.yml"]
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added configuration for oxfmt as well, but I would like to separate the PR to apply the all file formatting due to the number of files that need formatting. Let me open the another PR later just for formatting files.

@IzumiSy IzumiSy requested review from a team, davedc, interacsean and victornguyen and removed request for a team March 2, 2026 14:31
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