JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 311
  • Score
    100M100P100Q80571F
  • License MIT

Common JavaScript coding Style - ESLint Shareable Config

Package Exports

  • eslint-config-common

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-common) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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