This package is deprecated. Please use @bradgarropy/eslint-config instead.
My personal eslint configuration for react.
This package is hosted on npm.
Install the configuration as a development dependency.
npm install --dev @bradgarropy/eslint-config-react
Create an eslint.config.js
file in the root of your project. Then import the configuration and add it to the list of configuration objects.
import bgReactConfig from "@bradgarropy/eslint-config-react"
const config = [...bgReactConfig]
export default config
You can add more ESLint configuration options in this file if you want.
If you have any trouble, definitely open an issue and I'll take a look.
Or you can consult the ESLint Shareable Configs documentation.
And if all else fails, you can ask me directly on Twitter or my AMA.