Skip to content

chg: 🔧 ox migration#517

Merged
adrien-may merged 1 commit intodevelopfrom
chg/ox
Mar 19, 2026
Merged

chg: 🔧 ox migration#517
adrien-may merged 1 commit intodevelopfrom
chg/ox

Conversation

@adrien-may
Copy link
Copy Markdown
Contributor

C'est un peu relou que ca réécrive tout le markdown. J'ai pas vu si yavait un truc pour le plugin eslint-markdown qu'on avait

Copilot AI review requested due to automatic review settings March 18, 2026 13:10
@adrien-may adrien-may added the dependencies Pull requests that update a dependency file label Mar 18, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the repository’s linting/formatting toolchain from ESLint/Prettier to oxlint/oxfmt, updating related scripts/configs and applying the new formatter across code and documentation.

Changes:

  • Replace ESLint + Prettier with oxlint + oxfmt (new configs, updated scripts, updated lint-staged).
  • Remove ESLint/Prettier configs and dependencies; add ox tooling dependencies and update some dev deps.
  • Reformat various files (TS/JSON/YAML/Markdown) to match the new formatter output.

Reviewed changes

Copilot reviewed 13 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Updates lockfile to reflect removal of ESLint/Prettier stack and addition of oxlint/oxfmt (+ dependency bumps).
package.json Switch scripts to oxlint/oxfmt, add new dev deps, adjust metadata ordering.
lint-staged.config.js Run oxlint/oxfmt on staged files; expands formatting to non-TS assets.
.oxlintrc.json Adds oxlint configuration (plugins/rules/ignores).
.oxfmtrc.json Adds oxfmt configuration (style options + ignores).
eslint.config.js Removes ESLint configuration file.
prettier.config.js Removes Prettier configuration file.
tsconfig.json Formatting-only change.
tsconfig.build.json Formatting-only change (removes trailing comma).
src/seed.ts Formatting-only change (type formatting).
tests/payloadFactories/cook.factory.ts Removes unused EmptyClass.
README.md Markdown + code snippet formatting changes.
CHANGELOG.md Markdown list formatting changes.
SECURITY.md Markdown table formatting change.
.swcrc JSON formatting changes.
.github/workflows/node.js.yml Minor YAML formatting change for branches array.
.github/dependabot.yml YAML formatting (quotes) change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread package.json
Comment on lines +34 to +35
"fmt": "oxfmt --write",
"fmt:check": "oxfmt --check",
Comment thread lint-staged.config.js
Comment on lines +2 to +3
'*.{ts,js}': ['oxlint --fix', 'oxfmt --write'],
'*.{json,md,mdx,html,css,scss}': 'oxfmt --write',
@adrien-may adrien-may force-pushed the chg/ox branch 2 times, most recently from ab3c33c to 21cc8fe Compare March 18, 2026 13:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adrien-may adrien-may merged commit ab29793 into develop Mar 19, 2026
5 checks passed
@adrien-may adrien-may deleted the chg/ox branch March 19, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants