Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 593 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 593 Bytes

@diplodoc/eslint-config

NPM version

Install

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

Usage

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

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

Prettier

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

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