2.1.0 • Published 9 months ago
@bradgarropy/eslint-config-react v2.1.0
⚛️ eslint-config-react
My personal eslint configuration for react.
📦 Installation
This package is hosted on npm.
Install the configuration as a development dependency.
npm install --dev @bradgarropy/eslint-config-react
🥑 Usage
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.
❔ Questions
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.