chore: replace ESLint with Oxlint - #3566
Draft
stipsan wants to merge 1 commit into
Draft
Conversation
Migrate the monorepo from ESLint to Oxlint, following the Sanity react-rx/ui/next-sanity setups. Enable react/react-compiler and typescript/no-deprecated, suppress existing deprecations with oxlint-disable-next-line, and remove the shared eslint-config package. Co-authored-by: Cody Olsen <[email protected]>
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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 across the monorepo, aligned with the Sanity
react-rx/ui/next-sanitysetups.Changes
.oxlintrc.jsonwith type-aware linting viaoxlint+oxlint-tsgolintreact/react-compiler(replacingeslint-plugin-react-hookscompiler checks) andtypescript/no-deprecatedtypescript/no-deprecatedfindings with// oxlint-disable-next-line typescript/no-deprecated(no API migrations)pnpm lint/pnpm lint:fixnow runoxlintdirectly (instead of turbo + per-package ESLint)@repo/eslint-config, ESLint deps,eslintConfig, and.eslintignorefileseslint-plugin-storybookas an Oxlint JS pluginNotes
apps/**and**/*.svelteare ignored to match the previous lint scope / Oxlint Svelte limitstypeCheckis left off; package typechecking remains via Vitest/tsc