Socket
Book a DemoInstallSign in
Socket

@episerver/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@episerver/eslint-config

ESLint shareable config for the Episerver JavaScript style guide

1.2.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

eslint-config-episerver

ESLint shareable config for the Episerver JavaScript style guide

Installation

yarn

yarn add --dev eslint-config-episerver

npm

npm install --save-dev eslint-config-episerver

Usage

Once the eslint-config-episerver package is installed, you can use it by specifying episerver in the extends section of your ESLint configuration.

{
  "extends": "episerver",
  "rules": {
    // Additional, per-project rules...
  }
}

Using the episerver config with eslint:recommended

There are several rules in the eslint:recommended ruleset that the Episerver style is not opinionated about that you might want to enforce in your project.

To use the Episerver style in conjunction with ESLint's recommended rule set, extend them both, making sure to list episerver last:

{
  "extends": ["eslint:recommended", "episerver"],
  "rules": {
    // Additional, per-project rules...
  }
}

License

MIT © Episerver

Keywords

episerver

FAQs

Package last updated on 27 May 2019

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.