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

https://github.com/raineorshine/eslint-config-raine

Raine's personal eslint configuration
https://github.com/raineorshine/eslint-config-raine

eslint eslintconfig

Last synced: 2 months ago
JSON representation

Raine's personal eslint configuration

Awesome Lists containing this project

README

        

# eslint-config-raine
[![npm version](https://img.shields.io/npm/v/eslint-config-raine.svg)](https://npmjs.org/package/eslint-config-raine)

Raine's personal eslint configuration

https://eslint.org/docs/developer-guide/shareable-configs

#### Base config:
- standard

#### Plugins:
<%= peerDependencies
.map(plugin => '- ' + plugin)
.join('\n')
%>

## Install

Install `eslint-config-raine` with eslint plugins:

```
npm install --save-dev eslint-config-raine <%=peerDependencies.join(' ')%>
```

## Usage

#### package.json

```json
"eslintConfig": {
"extends": [
"raine"
]
}
```

or

#### .eslintrc.json

```json
{
"extends": "raine"
}
```

## Rules

These rules will automatically be used when you extend the config as shown above:

```json
<%= JSON.stringify(rules, null, 2) %>
```