Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rocketseat/eslint-config-rocketseat
ESLint configuration used by Rocketseat
https://github.com/rocketseat/eslint-config-rocketseat
eslint
Last synced: 6 days ago
JSON representation
ESLint configuration used by Rocketseat
- Host: GitHub
- URL: https://github.com/rocketseat/eslint-config-rocketseat
- Owner: Rocketseat
- Created: 2022-05-19T19:05:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T15:11:04.000Z (5 months ago)
- Last Synced: 2024-10-29T15:15:19.970Z (about 2 months ago)
- Topics: eslint
- Language: JavaScript
- Homepage: https://www.npmjs.com/@rocketseat/eslint-config
- Size: 94.7 KB
- Stars: 729
- Watchers: 16
- Forks: 106
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rocketseat ESLint config
## Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;## Setup
### React (with Next.js)
Install dependencies:
```
npm i -D eslint @rocketseat/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": [
"@rocketseat/eslint-config/next",
"next/core-web-vitals"
]
}
```### React (without Next.js)
Install dependencies:
```
npm i -D eslint @rocketseat/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": "@rocketseat/eslint-config/react"
}
```### Node.js
Install dependencies:
```
npm i -D eslint @rocketseat/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": "@rocketseat/eslint-config/node"
}
```