@witheslint/preset-react
✨ The react preset for witheslint.
Installation
pnpm add -D eslint witheslint# pnpm add -D eslint @witheslint/core @witheslint/preset-react
yarn add -D eslint witheslint# yarn add -D eslint @witheslint/core @witheslint/preset-react
npm install -D eslint witheslint# npm install -D eslint @witheslint/core @witheslint/preset-react
Reference
import { defineConfig, presetReact } from 'witheslint'// import { defineConfig } from '@witheslint/core'// import { presetReact } from '@witheslint/preset-react'
export default defineConfig({ presets: [ presetReact(), // ...other presets ],})
See customization for more details.