4.0.0 • Published 6 years ago

eslint-config-opengg v4.0.0

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
6 years ago

eslint-config-opengg

Build Status

Style guide based on eslint-config-airbnb-base.

Almost the same, but not quite.

Usage

npm install --save-dev \
  eslint-config-opengg \
  eslint-plugin-import \
  eslint-plugin-no-async-without-await

Differences with eslint-config-airbnb-base

  1. Add extras/no-async-without-await/no-async-without-await rule
  2. Set errors/comma-dangle.functions to 'never'
  3. Set style/func-names to ['error', 'as-needed']
  4. Set style/func-style to ['error', 'expression', { allowArrowFunctions: true }]
  5. Set style/no-plusplus to ['error', { allowForLoopAfterthoughts: true }]
  6. Remove ForOfStatement in style/no-restricted-syntax
  7. Set brace-style to ['error', '1tbs', { allowSingleLine: false, }]
  8. Set curly to ['error', 'all']