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

eslint-config-strongloop

Package Overview
Dependencies
Maintainers
11
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-strongloop

StrongLoop core coding conventions

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
43K
increased by5.08%
Maintainers
11
Weekly downloads
 
Created
Source

eslint-config-strongloop

Baseline eslint config for StrongLoop projects. A work in progress.

Basic Usage

Add eslint-config-strongloop to devDependencies.

$ npm install -D eslint-config-strongloop

Create/modify .eslintrc in the project's root to include:

{
  "extends": "strongloop"
}

Advanced Usage

It is sometimes desirable to override some of these rules because a team does not want to follow that particular rule for this repository:

{
  "extends": "strongloop",
  "rules": {
    "comma-dangle": 0
  }
}

In cases where these rules are being adopted but the code has many style errors, it might be helpful to turn the worst errors into warnings until the entire repo can be fixed:

{
  "extends": "strongloop",
  "rules": {
    "comma-dangle": 1,
  }
}

Further Reading

  • eslint rules
  • eslint config

© 2015 StrongLoop, Inc.

Keywords

FAQs

Package last updated on 16 Aug 2016

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