0.4.0 • Published 8 years ago

eslint-config-tough v0.4.0

Weekly downloads
22
License
MIT
Repository
github
Last release
8 years ago

npm

ESLint Shareable Configs.

tough life

Install

:informationdesk_person: This config relies dangerously on npm@3 _flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:

npm i -D eslint-config-tough

Usage

// .eslintrc
{
  "extends": [
    "tough/config/common",
    "tough/config/node",
    "tough/config/esnext"
  ],
  "rules": {
    // custom tweaks
  }
}
// test/.eslintrc
{
  "extends": [
    "tough/config/test"
  ],
  "rules": {
    // custom tweaks
  }
}

Available configs to extend from

  • common
  • node
  • browser
  • esnext
  • react
  • test