https://github.com/joaopalmeiro/eslint-config-react
My personal ESLint config for React projects.
https://github.com/joaopalmeiro/eslint-config-react
eslint eslint-config
Last synced: about 1 month ago
JSON representation
My personal ESLint config for React projects.
- Host: GitHub
- URL: https://github.com/joaopalmeiro/eslint-config-react
- Owner: joaopalmeiro
- License: mit
- Created: 2022-02-06T11:38:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-06T20:06:37.000Z (about 3 years ago)
- Last Synced: 2025-03-23T12:04:40.116Z (about 1 month ago)
- Topics: eslint, eslint-config
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@joaopalmeiro/eslint-config-react
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-react
My personal [ESLint](https://eslint.org/) config for [React](https://reactjs.org/) projects.
## Usage
**Install**:
```bash
npm install --save-dev @joaopalmeiro/eslint-config-react
```or
```bash
yarn add --dev @joaopalmeiro/eslint-config-react
```or
```bash
pnpm add --save-dev @joaopalmeiro/eslint-config-react
```**Add the `.eslintrc.json` file to the project:**:
```json
{
"extends": "@joaopalmeiro/eslint-config-react"
}
```## References
- [@joaopalmeiro/prettier-config](https://github.com/joaopalmeiro/prettier-config) package.
- [Shareable Configs](https://eslint.org/docs/developer-guide/shareable-configs) documentation.
- [How to Create Your Own ESLint Config Package](https://www.freecodecamp.org/news/creating-your-own-eslint-config-package/) blog post by Leonardo Faria.
- [eslint-config-wesbos](https://github.com/wesbos/eslint-config-wesbos) package.
- [eslint-config-kentcdodds](https://github.com/kentcdodds/eslint-config-kentcdodds) package.
- [eslint-config-alloy](https://github.com/AlloyTeam/eslint-config-alloy) package.## Development
- `npm install`.
- `npm pack --dry-run`.## Deployment
- `npm version minor` or `npm version patch` or `npm version major`.
- `git push --follow-tags`.## Notes
- `npm install --save-peer eslint prettier eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y eslint-plugin-import`.
- [eslint-find-rules](https://www.npmjs.com/package/eslint-find-rules).
- [Range Ignore](https://prettier.io/docs/en/ignore.html#range-ignore) (Prettier).