eslint-config-opengg

4.0.0 • Public • Published

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']

Package Sidebar

Install

npm i eslint-config-opengg

Weekly Downloads

0

Version

4.0.0

License

GPL-3.0

Unpacked Size

119 kB

Total Files

30

Last publish

Collaborators

  • opengg