@diplodoc/eslint-config
v1.0.17
Published
diplodoc ESLint config, following our styleguide
Downloads
494
Readme
@diplodoc/eslint-config
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
}