@episerver/eslint-config
ESLint shareable config for the Episerver JavaScript style guide
Last updated a year ago by ben_mckernan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @episerver/eslint-config 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.2.0                                ...           latest (a year ago)

1 Versions

  • 1.2.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |