@standard-config/oxlint-react
v2.4.3
Published
Curated Oxlint config with sensible React defaults
Maintainers
Readme
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:
- eslint[!NOTE]
Additional questions can be found here.
Related
License
MIT © Dom Porada
