Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulomart/eslint-config
Sane eslint configs for TypeScript and friends.
https://github.com/paulomart/eslint-config
Last synced: about 1 month ago
JSON representation
Sane eslint configs for TypeScript and friends.
- Host: GitHub
- URL: https://github.com/paulomart/eslint-config
- Owner: Paulomart
- License: mit
- Created: 2021-10-27T16:10:53.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-08T02:12:58.000Z (about 2 years ago)
- Last Synced: 2024-12-13T13:58:16.545Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 840 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @paulomart/eslint-config
Sane eslint configs for TypeScript and friends.
## Installation
```bash
npm install --save-dev @paulomart/eslint-config
```## Usage
### TypeScript
Add the following to your package.json:
```json
{
(...)
"eslintConfig": {
"extends": "@paulomart/eslint-config/default"
},
(...)
}
```### React
Add the following to your package.json:
```json
{
(...)
"eslintConfig": {
"extends": "@paulomart/eslint-config/react"
},
(...)
}
```### Node
Add the following to your package.json:
```json
{
(...)
"eslintConfig": {
"extends": "@paulomart/eslint-config/node"
},
(...)
}
```### Next.js
Add the following to your package.json:
```json
{
(...)
"eslintConfig": {
"extends": "@paulomart/eslint-config/nextjs"
},
(...)
}
```