eslint-config-react

⚛️ react eslint configuration

MIT License

Downloads
118
Stars
3
Committers
1

⚛️ eslint-config-react

My personal eslint configuration for react.

📦 Installation

This package is hosted on npm.

Install the configuration and it's peer dependencies as a development dependency.

npx install-peerdeps --dev @bradgarropy/eslint-config-react

This installs peer dependencies automatically using npx and install-peerdeps so you don't have to!

🥑 Usage

Create an .eslintrc file in the root of your project and tell it to extend the configuration.

{
    extends: "@bradgarropy/eslint-config-react"
}

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.

Package Rankings
Top 9.72% on Npmjs.org