Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jefferson-calmon/eslint-config
ESLint configuration I use in most projects
https://github.com/jefferson-calmon/eslint-config
eslint eslint-config eslint-plugin eslint-rules
Last synced: 18 days ago
JSON representation
ESLint configuration I use in most projects
- Host: GitHub
- URL: https://github.com/jefferson-calmon/eslint-config
- Owner: jefferson-calmon
- Created: 2024-10-26T19:39:46.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2024-10-26T19:43:32.000Z (21 days ago)
- Last Synced: 2024-10-27T22:17:57.814Z (19 days ago)
- Topics: eslint, eslint-config, eslint-plugin, eslint-rules
- Language: JavaScript
- Homepage: https://npmjs.com/package/@jefferson-calmon/eslint-config
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 @jefferson-calmon/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": [
"@jefferson-calmon/eslint-config/next",
"next/core-web-vitals"
]
}
```### React (without Next.js)
Install dependencies:
```
npm i -D eslint @jefferson-calmon/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": "@jefferson-calmon/eslint-config/react"
}
```### Node.js
Install dependencies:
```
npm i -D eslint @jefferson-calmon/eslint-config
```
Inside `.eslintrc.json`
```
{
"extends": "@jefferson-calmon/eslint-config/node"
}
```