JSPM

  • Created
  • Published
  • Downloads 1253
  • Score
    100M100P100Q112696F
  • License MIT

Airbnb's JS ESLint config + JS Standard Style + semicolons

Package Exports

  • eslint-config-airbnb-standard

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-airbnb-standard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Airbnb+ JavaScript Standard Style

ESLint config "extends": ["airbnb", "standard"]

This is an original Airbnb style guide config extended with JavaScript Standard config (with semicolons).

Compare configs: https://npmcompare.com/compare/eslint-config-airbnb,standard

Installation

Install in the current working directory:

npm install --save-dev eslint-config-airbnb-standard

Or just clone this repo to your "Projects" folder to use with WebStorm:

git clone https://github.com/doasync/eslint-config-airbnb-standard.git

WebStorm

File | Settings | Languages and Frameworks | JavaScript | Code Quality Tools | ESLint

ESLint settings

Custom Config

You can turn off semicolons in custom.eslintrc.json:

{
  "extends": ["airbnb", "standard"],
  "rules": {
    "semi": ["error", "always"],
    "object-curly-spacing": ["error", "never"]
  }
}

More info

See airbnb/javascript and standardjs for more information.