4.0.0 • Published 7 years ago
eslint-config-opengg v4.0.0
eslint-config-opengg
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-awaitDifferences with eslint-config-airbnb-base
- Add
extras/no-async-without-await/no-async-without-awaitrule - Set
errors/comma-dangle.functionsto'never' - Set
style/func-namesto['error', 'as-needed'] - Set
style/func-styleto['error', 'expression', { allowArrowFunctions: true }] - Set
style/no-plusplusto['error', { allowForLoopAfterthoughts: true }] - Remove
ForOfStatementinstyle/no-restricted-syntax - Set
brace-styleto['error', '1tbs', { allowSingleLine: false, }] - Set
curlyto['error', 'all']