Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/diplodoc-platform/eslint-config

@diplodoc-platfrom ESlint config
https://github.com/diplodoc-platform/eslint-config

Last synced: about 2 months ago
JSON representation

@diplodoc-platfrom ESlint config

Awesome Lists containing this project

README

        

# @diplodoc/eslint-config

[![NPM version](https://img.shields.io/npm/v/@diplodoc/eslint-config.svg?style=flat)](https://www.npmjs.org/package/@diplodoc/eslint-config)

## Install

```
npm install --save-dev eslint @diplodoc/eslint-config
```

## Usage

Add `.eslintrc` file in the project root with the following content:

```json
{
"extends": "@diplodoc/eslint-config",
"root": true
}
```

### Prettier

If you are using Prettier, extend root config with the additional rules:

```json
{
"extends": ["@diplodoc/eslint-config", "@diplodoc/eslint-config/prettier"],
"root": true
}
```