0.17.0 • Published 4 years ago

@eventmobi/eslint-config v0.17.0

Weekly downloads
17
License
UNLICENSED
Repository
github
Last release
4 years ago

eslint-config-eventmobi

EventMobi's base ESLint configuration. Most rules are inherited from the excellent eslint-config-airbnb, with some rules customized for EventMobi.

Install

npm install --save-dev eslint-config-eventmobi eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react

Usage

Add one of these three configurations to your .eslintrc file:

ES2015 + React
{
  "extends": "eventmobi"
}
ES2015 (without React)
{
  "extends": "eventmobi/base"
}
ES5 and below
{
  "extends": "eventmobi/legacy"
}

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