@commercial-tribe/eslint-config

CommercialTribe JavaScript ESLint Shareable Config

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Jan 29, 2018Jul 18, 2017Minified + gzip package size for @commercial-tribe/eslint-config in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.