Skip to content

chore: replace ESLint with Oxlint - #3566

Draft
stipsan wants to merge 1 commit into
mainfrom
cursor/replace-eslint-with-oxlint-bf70
Draft

chore: replace ESLint with Oxlint#3566
stipsan wants to merge 1 commit into
mainfrom
cursor/replace-eslint-with-oxlint-bf70

Conversation

@stipsan

@stipsan stipsan commented Jul 31, 2026

Copy link
Copy Markdown
Member

Replaces ESLint with Oxlint across the monorepo, aligned with the Sanity react-rx / ui / next-sanity setups.

Changes

  • Add root .oxlintrc.json with type-aware linting via oxlint + oxlint-tsgolint
  • Enable react/react-compiler (replacing eslint-plugin-react-hooks compiler checks) and typescript/no-deprecated
  • Suppress existing typescript/no-deprecated findings with // oxlint-disable-next-line typescript/no-deprecated (no API migrations)
  • Root pnpm lint / pnpm lint:fix now run oxlint directly (instead of turbo + per-package ESLint)
  • Remove @repo/eslint-config, ESLint deps, eslintConfig, and .eslintignore files
  • Keep Storybook rules via eslint-plugin-storybook as an Oxlint JS plugin

Notes

  • apps/** and **/*.svelte are ignored to match the previous lint scope / Oxlint Svelte limits
  • typeCheck is left off; package typechecking remains via Vitest/tsc
Open in Web Open in Cursor 

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]>
@changeset-bot

changeset-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3e0b6ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
live-visual-editing-next Ready Ready Preview Jul 31, 2026 8:44am
visual-editing-next Ready Ready Preview Jul 31, 2026 8:44am
visual-editing-page-builder-demo Ready Ready Preview Jul 31, 2026 8:44am
visual-editing-page-builder-vite Error Error Jul 31, 2026 8:44am
visual-editing-storybook Ready Ready Preview Jul 31, 2026 8:44am
visual-editing-studio Ready Ready Preview Jul 31, 2026 8:44am
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
visual-editing-astro Ignored Ignored Jul 31, 2026 8:44am
visual-editing-next-with-i18n Ignored Ignored Jul 31, 2026 8:44am
visual-editing-nuxt Ignored Ignored Jul 31, 2026 8:44am
visual-editing-remix Ignored Ignored Jul 31, 2026 8:44am
visual-editing-svelte Ignored Ignored Jul 31, 2026 8:44am

Request Review

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​oxlint@​1.76.0991009196100
Addednpm/​oxlint-tsgolint@​7.0.20011001009795100
Addednpm/​eslint-plugin-storybook@​10.5.510010010099100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants