Skip to content

ci: apply formatting in check instead of gating it - #33

Merged
Delnegend merged 1 commit into
mainfrom
ci/oxfmt-format
Sep 20, 2026
Merged

Delnegend merged 1 commit into
mainfrom
ci/oxfmt-format

Conversation

@Delnegend

Copy link
Copy Markdown
Owner

just check formats before it lints/type-checks, and the formatting step lives in the check recipe per kind instead of a separate fmt recipe.

  • just check rust: cargo fmt (was cargo fmt -- --check) — rustfmt now applies instead of only verifying.
  • just check js: oxfmt (write) — unchanged from main; the formatting step is simply part of the check flow.
  • check documents that formatting is applied first; no standalone fmt recipe.

Formatting is therefore applied, not gated: the gate remains oxlint + vue-tsc + clippy + tests.

Verified: just check js passes and leaves a clean tree.

`just check` now formats first (rustfmt + oxfmt) and then runs
lint/type-check/tests, matching the previous `prettier -w` behavior;
`cargo fmt` no longer uses `--check`. The formatting step lives in the
`check` recipe per kind, so the separate `fmt` recipe is dropped.
@Delnegend
Delnegend merged commit 7faab6a into main Sep 20, 2026
6 checks passed
@Delnegend
Delnegend deleted the ci/oxfmt-format branch September 20, 2026 06:35
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