Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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"
},
(...)
}
```