Licence
MIT
Version
2.3.0
Deps
2
Size
37 kB
Vulns
0
Weekly
1.2K
@standard‑config/oxlint‑react
Curated Oxlint config with sensible React defaults.
Overview
Supplemental config for @standard-config/oxlint, with React-related rules from Oxlint, ESLint React, and React You Might Not Need An Effect.
Install
npm install --save-dev @standard-config/oxlint-reactpnpm add --save-dev @standard-config/oxlint-reactUsage
If you already use the core config, there’s no need to modify oxlint.config.ts. Installed supplemental config packages are detected and applied automatically.
import { defineConfig } from '@standard-config/oxlint';
// Will automatically include `@standard-config/oxlint-react`
export default defineConfig();FAQ
Do I need to install ESLint?
This config loads an ESLint plugin via Oxlint’s JS plugins. If you encounter any ESLint-related errors, you may need to install eslint in your project.
And if you only want to suppress missing peer dependency warnings, you can configure pnpm not to flag eslint:
peerDependencyRules:
ignoreMissing:
- eslintAdditional questions can be found here.
Related
License
MIT Dom Porada