eslint-config-dollarshaveclub
v8.0.1
Published
ESLint configuration for Dollar Shave Club
Downloads
2,253
Keywords
Readme
eslint-config-dollarshaveclub
ESLint shareable config for Dollar Shave Club.
Installation
$ npm install --save-dev \
@typescript-eslint/eslint-plugin@^1.x \
@typescript-eslint/parser@^1.x \
babel-eslint@^10.x \
eslint@^5.x \
eslint-config-prettier@^4.x \
eslint-config-standard@^12.x \
eslint-config-standard-react@^7.x \
[email protected] \
eslint-plugin-import@^2.x \
eslint-plugin-jest@^22.x \
eslint-plugin-jsx-a11y@^6.x \
eslint-plugin-node@^8.x \
eslint-plugin-prettier@^3.x \
eslint-plugin-promise@^4.x \
eslint-plugin-react@^7.x \
eslint-plugin-standard@^4.x \
prettier@^1.x \
typescript@^3.x \
eslint-config-dollarshaveclub
Usage
Once the eslint-config-dollarshaveclub
package is installed, you can use it by specifying dollarshaveclub
, or dollarshaveclub/react
in the extends
section of your ESLint configuration.
For frameworkless JS modules:
{
"extends": "dollarshaveclub",
"rules": {
// Additional, per-project rules...
}
}
For React projects:
{
"extends": "dollarshaveclub/react"
}
License
MIT