chg: 🔧 ox migration#517
Merged
adrien-may merged 1 commit intodevelopfrom Mar 19, 2026
Merged
Conversation
There was a problem hiding this comment.
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 on lines
+34
to
+35
| "fmt": "oxfmt --write", | ||
| "fmt:check": "oxfmt --check", |
Comment on lines
+2
to
+3
| '*.{ts,js}': ['oxlint --fix', 'oxfmt --write'], | ||
| '*.{json,md,mdx,html,css,scss}': 'oxfmt --write', |
ab3c33c to
21cc8fe
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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