Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-tough

deepsweet58MIT0.4.0

ESLint config for tough life

eslint, eslint-config

readme

npm

ESLint Shareable Configs.

tough life

Install

:information_desk_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