FACE CONFIG
THIS REPOSITORY HAS BEEN MERGED INTOYou can find the latest version in our face-config
monorepo, where it will continue to be developed
eslint-config-dollarshaveclub
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