Skip to content

Migrate JS lint and format tooling to Oxlint and Oxfmt#78

Merged
lorisleiva merged 1 commit into
mainfrom
loris/oxc-tooling
May 26, 2026
Merged

Migrate JS lint and format tooling to Oxlint and Oxfmt#78
lorisleiva merged 1 commit into
mainfrom
loris/oxc-tooling

Conversation

@lorisleiva
Copy link
Copy Markdown
Member

This PR swaps ESLint and Prettier for Oxlint and Oxfmt, extending the shared @solana-config/oxc package, to align the JS client tooling with the converged Solana program-client conventions and gain the substantial speed-up of the Rust-based toolchain. The configs are authored in CommonJS-style .ts so they autodiscover under the package's "type": "commonjs", the sort-keys rule is disabled to preserve the previous ESLint behaviour, and the CI Node version is bumped to 24 so the TypeScript-strip loader handles .ts configs cleanly. The root package.json drops @solana/prettier-config-solana, and codama.json gains an explicit prettierOptions block so future client regenerations match the new style without re-introducing Prettier as a dev tool.

This PR swaps ESLint and Prettier for Oxlint and Oxfmt, extending the shared `@solana-config/oxc` package, to align the JS client tooling with the converged Solana program-client conventions and gain the substantial speed-up of the Rust-based toolchain. The configs are authored in CommonJS-style `.ts` so they autodiscover under the package's `"type": "commonjs"`, the `sort-keys` rule is disabled to preserve the previous ESLint behaviour, and the CI Node version is bumped to 24 so the TypeScript-strip loader handles `.ts` configs cleanly. The root `package.json` drops `@solana/prettier-config-solana`, and `codama.json` gains an explicit `prettierOptions` block so future client regenerations match the new style without re-introducing Prettier as a dev tool.
@lorisleiva lorisleiva merged commit 2e9bd5e into main May 26, 2026
5 of 10 checks passed
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