Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-eventmobi

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-eventmobi

EventMobi's base ESLint configuration

  • 0.16.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
increased by41.18%
Maintainers
3
Weekly downloads
 
Created
Source

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

Because of this you must install the peer dependencies of the configuration. When you update eslint-config-eventmobi you may get peer dependency errors - running this command again should update the modules. Note that this assumes you are installing the latest version. If not, change latest to whatever version you are using.

(
  export PKG=eslint-config-eventmobi;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Alternatively you can manually view the peer dependencies required here by running

npm info "eslint-config-eventmobi@latest" peerDependencies

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.

FAQs

Package last updated on 03 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc