eslint-config-dollarshaveclub

ESLint configuration for Dollar Shave Club


Keywords
eslint
License
MIT
Install
npm install eslint-config-dollarshaveclub@8.0.1

Documentation

THIS REPOSITORY HAS BEEN MERGED INTO FACE CONFIG

You can find the latest version in our face-config monorepo, where it will continue to be developed

eslint-config-dollarshaveclub Build Status Greenkeeper badge

ESLint shareable config for Dollar Shave Club.

Installation

$ npm install --save-dev eslint@3 eslint-config-dollarshaveclub

Usage

Once the eslint-config-dollarshaveclub package is installed, you can use it by specifying dollarshaveclub, dollarshaveclub/ember, or dollarshaveclub/react in the extends section of your ESLint configuration.

For frameworkless JS modules:

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

For Ember projects:

{
  "extends": "dollarshaveclub/ember"
}

For React projects:

{
  "extends": "dollarshaveclub/react"
}

License

MIT