Repository navigation
chore: migrate from eslint and prettier to oxlint and oxfmt - #315
cryptodev-2s wants to merge 4 commits into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1f3fdcd to
d19483e
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d19483e. Configure here.
d19483e to
4605b99
Compare

Replaces eslint and prettier with oxlint and oxfmt using the MetaMask oxlint configs and core's formatter settings, with existing violations recorded in a suppressions file.
Note
Low Risk
Tooling and formatting only; lint behavior is preserved via suppressions, with no product or runtime logic changes beyond style.
Overview
Replaces ESLint and Prettier with oxlint and oxfmt using the MetaMask oxlint config stack, including type-aware linting and Vitest/Node overrides (with
node/no-process-envdisabled under.github/**).Removes
.eslintrc.jsand.prettierrc.js, addsoxlint.config.mts,.oxfmtrc.json, and a largeoxlint-suppressions.jsonso current rule violations stay allowed until cleaned up.package.jsonlint scripts now runoxlint/oxfmt; changelog validation usesauto-changelog7.1.0 with the oxfmt formatter. depcheck and tsconfig are updated for the new tooling.Most other diff hunks are automated formatting and import sorting across
.githubworkflow scripts and a fewsrcentry points, with no intentional behavior change.Reviewed by Cursor Bugbot for commit c973e63. Bugbot is set up for automated code reviews on this repo. Configure here.