eslint-config-tough

v0.1.0
ESLint config for tough life
eslint eslint-config

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

Metadata

  • MIT
  • Whatever
  • Kir Belevich
  • released 9/25/2016

Downloads

Maintainers