Skip to content

chore: switch formatter from dprint to oxfmt 0.80.0 - #938

Merged
patroza merged 7 commits into
mainfrom
chore/switch-to-oxfmt
Nov 24, 2026
Merged

patroza merged 7 commits into
mainfrom
chore/switch-to-oxfmt

Conversation

@patroza

@patroza patroza commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Replace dprint (0.54.0) and dprint plugins with oxfmt@0.80.0.
  • Replace dprint.jsonc / packages/eslint-shared-config/src/dprint.jsonc with .oxfmtrc.json / packages/eslint-shared-config/src/oxfmtrc.json (preserving style settings: semi: false, singleQuote: false, arrowParens: "always", trailingComma: "none", printWidth: 120, tabWidth: 2).
  • Separate formatting from linting (matching scrapline):
    • Root scripts: pnpm format (oxfmt .) and pnpm format:check (oxfmt --check .).
    • Package lint / lint-fix scripts run linting only (effect-tsgo oxlint, plus eslint for vue-components).
    • Dedicated Format job in .github/workflows/ci.yml and pnpm format:check step in scripts/agent-pre-push.mjs.
  • Update lint-staged.config.js and VS Code settings/extensions to oxfmt / oxc.oxc-vscode, and format the repository.
  • Fix 3 latent lint errors surfaced when staging reformatted test/config files (vite.config.base.ts, missing () on expectTypeOf in packages/vue/test/form.test.ts, unawaited options?.onSubmit?.(value) in packages/vue-components/__tests__/OmegaForm/createUseFormWithCustomInput.test.ts) and ignore packages/eslint-codegen-model/** in .oxlintrc.json to match pnpm lint.
  • Move inline type-argument comments in packages/infra/src/ContextProvider.ts above the property so oxfmt formatting is idempotent.
  • Add changeset.

@patroza
patroza force-pushed the chore/tsrs-oxlint-effect-diagnostics branch from f55c848 to f11f37a Compare November 24, 2026 08:15
@patroza
patroza force-pushed the chore/switch-to-oxfmt branch from 26003c3 to 0768bb7 Compare November 24, 2026 08:17
Base automatically changed from chore/tsrs-oxlint-effect-diagnostics to main November 24, 2026 08:33
@patroza
patroza force-pushed the chore/switch-to-oxfmt branch from 0768bb7 to aca3328 Compare November 24, 2026 08:36
@pkg-pr-new

pkg-pr-new Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@effect-app/cli

npm i https://pkg.pr.new/@effect-app/cli@938

effect-app

npm i https://pkg.pr.new/effect-app@938

@effect-app/eslint-codegen-model

npm i https://pkg.pr.new/@effect-app/eslint-codegen-model@938

@effect-app/eslint-shared-config

npm i https://pkg.pr.new/@effect-app/eslint-shared-config@938

@effect-app/infra

npm i https://pkg.pr.new/@effect-app/infra@938

@effect-app/vue

npm i https://pkg.pr.new/@effect-app/vue@938

@effect-app/vue-components

npm i https://pkg.pr.new/@effect-app/vue-components@938

commit: a40a357

@patroza
patroza merged commit f6b8a12 into main Nov 24, 2026
6 checks passed
@patroza
patroza deleted the chore/switch-to-oxfmt branch November 24, 2026 08:54
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