@commercial-tribe/eslint-config

1.35.0 • Public • Published

CommercialTribe eslint-configs travis npm downloads

An ESLint Shareable Config for JavaScript Isomorphic Apps

Install

First install the base config, then choose one of the following configs.

yarn add --dev \
  @commercial-tribe/eslint-config
  eslint \
  babel-eslint \
  eslint-plugin-promise \
  eslint-plugin-standard

For React:

yarn add --dev \
  eslint-plugin-react \
  eslint-plugin-import \
  eslint-import-resolver-webpack

Then, add this to your .eslintrc file:

{
  "extends": "@commercial-tribe/eslint-config/react"
}

For Angular:

yarn add --dev \
  eslint-plugin-angular

Then, add this to your .eslintrc file:

{
  "extends": "@commercial-tribe/eslint-config/angular"
}

For Node:

yarn add --dev \
  eslint-plugin-node
{
  "extends": "@commercial-tribe/eslint-config/node"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.35.0
    1
    • latest

Version History

Package Sidebar

Install

npm i @commercial-tribe/eslint-config

Weekly Downloads

1

Version

1.35.0

License

MIT

Last publish

Collaborators

  • hari.ac
  • swaroopaalpine
  • anand_ac
  • ct-deploy
  • cdriscol
  • jrobbs
  • jyannessa
  • bknutson
  • ctopherhague