eslint-config-tough

0.4.0 • Public • Published

npm

ESLint Shareable Configs.

tough life

Install

💁 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

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-tough

Weekly Downloads

10

Version

0.4.0

License

MIT

Last publish

Collaborators

  • deepsweet