Socket
Socket
Sign inDemoInstall

eslint-config-common

Package Overview
Dependencies
253
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-common

Common JavaScript coding Style - ESLint Shareable Config


Version published
Weekly downloads
192
decreased by-75.29%
Maintainers
1
Install size
22.6 kB
Created
Weekly downloads
 

Readme

Source

Common JavaScript coding style - ESLint Shareable Config

An ESLint Shareable Config for Common JavaScript Coding style.

Install

npm install eslint-config-common

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the JavaScript Common Style shareable config, first run this:

npm install eslint-config-common eslint-plugin-standard eslint-plugin-promise

Then, add this to your .eslintrc file:

{
  "extends": "common"
}

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.

Learn more

The rules of the common coding style are based and/or inspired by:

LICENSE

MIT (c) 2016, Nicolas Tallefourtane.

Author

Nicolas Tallefourtane - Nicolab.net
Nicolas Talle
Make a donation via Paypal

Keywords

FAQs

Last updated on 06 Apr 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc