Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ltatarev/eslint-config
📝 Eslint config for React & React Native projects
https://github.com/ltatarev/eslint-config
eslint eslint-config eslint-config-react eslint-config-react-native
Last synced: 8 days ago
JSON representation
📝 Eslint config for React & React Native projects
- Host: GitHub
- URL: https://github.com/ltatarev/eslint-config
- Owner: ltatarev
- License: mit
- Created: 2023-01-26T17:51:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T20:09:57.000Z (4 months ago)
- Last Synced: 2024-09-29T10:17:22.759Z (about 2 months ago)
- Topics: eslint, eslint-config, eslint-config-react, eslint-config-react-native
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# 🗂️ eslint-config
[![NPM](https://img.shields.io/npm/v/@ltatarev/eslint-config-react?style=flat-square)](https://www.npmjs.com/package/@ltatarev/eslint-config-react) [![NPM License](https://img.shields.io/npm/l/@ltatarev/eslint-config-react-native?style=flat-square)](https://opensource.org/licenses/MIT)
Eslint config for React and React Native projects. Contains recommended rules extended from `airbnb`, `airbnb/hooks`, `plugin:react`, `plugin:react-hooks`. Added rules contain import and prop sorting, as well as most available `react-native` rules.
## 🖥️ Installation
1. Install the desired package using the below commands.
```sh
npm install --dev @ltatarev/eslint-config-react
```or
```sh
npm install --dev @ltatarev/eslint-config-react-native
```2. Add `"extends": "@ltatarev/react"` or `"extends": "@ltatarev/react-native"` to your .eslintrc.