Skip to content

Migrate Remix to React Router

Remix merged into React Router v7. Version 3 removes the deprecated @santi020k/eslint-config-remix package and frameworks.remix option.

Terminal window
npm remove @santi020k/eslint-config-remix
npm install -D @santi020k/eslint-config-react-router@^3 @santi020k/eslint-config-react@^3
import { defineConfig } from '@santi020k/eslint-config-basic'
export default await defineConfig({
frameworks: {
remix: true
'react-router': true
}
})

Projects that still declare @remix-run/react or @remix-run/node are auto-detected and receive the React Router configuration.

See the React Router guide for the current rule set, or the v2 Remix guide for the frozen legacy API.

Did this page help?

Your answer stays in this browser. Share details on GitHub to help improve the docs.