Socket
Book a DemoInstallSign in
Socket

@diplodoc/eslint-config

Package Overview
Dependencies
Maintainers
10
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diplodoc/eslint-config

diplodoc ESLint config, following our styleguide

latest
Source
npmnpm
Version
1.0.17
Version published
Weekly downloads
283
32.86%
Maintainers
10
Weekly downloads
 
Created
Source

@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
}

Keywords

eslint

FAQs

Package last updated on 08 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts