@josephmcg/eslint-config-react
v3.0.1
Published
ESLint config for React projects
Readme
eslint-config-react ·

[!CAUTION] This package is deprecated. I'm switching all projects to oxlint, and would suggest you do the same.
pnpm i -D @josephmcg/eslint-config-react// eslint.config.js
import josephmcgConfigReact from '@josephmcg/eslint-config-react'
import { defineConfig } from 'eslint/config'
import tseslint from 'typescript-eslint'
const config = defineConfig(josephmcgConfigReact, {
languageOptions: {
parser: tseslint.parser,
parserOptions: {
ecmaFeatures: {
jsx: true,
},
project: './tsconfig.json',
sourceType: 'module',
tsconfigRootDir: import.meta.dirname,
warnOnUnsupportedTypeScriptVersion: true,
},
},
})