Docs menu

Linter

Vite SPA only. Next and Router are handled differently.

React + Vite

Vite SPA

ChoiceFlagResult
ESLint--eslinteslint.config.js + npm run lint
Oxlint--no-eslint.oxlintrc.json + oxlint

Dose only passes the flag through — no extra lint config beyond the official Vite template.

Next.js

Next.js

Always --eslint with eslint-config-next. There is no Oxlint option.

Router

React Router

No linter prompt. Keep whatever create-react-router ships.