build: migrate from eslint/prettier to oxlint/oxfmt#1073
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Deploying electron-website with
|
| Latest commit: |
5844076
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9493e933.electron-website.pages.dev |
| Branch Preview URL: | https://sam-migrate-to-oxlint.electron-website.pages.dev |
fc4d7f3 to
96421a2
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
Member
|
Pushed up a new commit:
|
erickzhao
approved these changes
Apr 9, 2026
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.
Replaces ESLint with oxlint and Prettier with oxfmt.
oxlint
eslint,@typescript-eslint/*,eslint-config-prettier,eslint-plugin-prettier,eslint-plugin-reactoxlint@^1.57.0with.oxlintrc.json(react + typescript plugins,correctness: error,no-unused-varswarn with^_ignore — matches previous config)lint:eslint→lint:oxlint, updatelint/lint:fix/ lint-stagedlint:fixwhich was passing--fixtonpm runinstead of the underlying commandcatch (error)binding inscripts/tasks/preprocess-api-history.tsflagged by oxlint// eslint-disable-*comments still work; oxlint honors them nativelyoxfmt
prettier; addoxfmt@^0.42.0.prettierrc/.prettierignore→.oxfmtrc.json(generated viaoxfmt --migrate=prettier;singleQuote: true,printWidth: 80, all ignore patterns ported incl.docs/)lint:fmtscript (oxfmt --check .);lint/lint:fix/ lint-staged updated--no-error-on-unmatched-patternso commits touching only ignored paths (e.g.docs/) don't fail the pre-commit hookdocs/latest/.eslintrc.jsonis left alone; it's synced from electron/electron and not linted here.yarn lintpasses clean. oxlint: 57 files in ~6ms. oxfmt: 239 files in ~550ms.