Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradgarropy/eslint-config-react
⚛️ react eslint configuration
https://github.com/bradgarropy/eslint-config-react
a11y accessibility eslint eslint-config hacktoberfest react
Last synced: 20 days ago
JSON representation
⚛️ react eslint configuration
- Host: GitHub
- URL: https://github.com/bradgarropy/eslint-config-react
- Owner: bradgarropy
- License: mit
- Created: 2020-12-09T17:39:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T15:22:39.000Z (26 days ago)
- Last Synced: 2024-10-23T21:46:01.421Z (25 days ago)
- Topics: a11y, accessibility, eslint, eslint-config, hacktoberfest, react
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@bradgarropy/eslint-config-react
- Size: 130 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# ⚛️ eslint-config-react
_My personal [eslint][1] configuration for [react][react]._
## 📦 Installation
This package is hosted on [npm][2].
Install the configuration as a development dependency.
```zsh
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.
```javascript
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][5] and I'll take a look.
Or you can consult the [ESLint Shareable Configs documentation][6].
And if all else fails, you can ask me directly on [Twitter][7] or my [AMA][8].
[1]: https://eslint.org
[2]: https://www.npmjs.com/package/@bradgarropy/eslint-config-react
[3]: https://www.npmjs.com/package/npx
[4]: https://www.npmjs.com/package/install-peerdeps
[5]: https://github.com/bradgarropy/eslint-config-react/issues
[6]: https://eslint.org/docs/developer-guide/shareable-configs
[7]: https://twitter.com/bradgarropy
[8]: https://github.com/bradgarropy/ama
[react]: https://reactjs.org