Skip to content

Commit

Permalink
fix: de-duplicate defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Sep 11, 2019
1 parent 982a6b4 commit 2c92a97
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions eslint.js
Expand Up @@ -115,7 +115,7 @@ module.exports = {
'unicode-bom': 'error',
// ECMAScript 6
'arrow-parens': ['error', 'as-needed'],
'arrow-spacing': ['error', { before: true, after: true }],
'arrow-spacing': 'error',
'generator-star-spacing': ['error', 'after'],
'no-confusing-arrow': ['error', { allowParens: true }],
'no-const-assign': 'error',
Expand All @@ -124,14 +124,8 @@ module.exports = {
'no-useless-constructor': 'error',
'no-useless-rename': 'error',
'no-var': 'error',
'prefer-arrow-callback': ['error', {
allowNamedFunctions: false,
allowUnboundThis: true
}],
'prefer-const': ['error', {
destructuring: 'any',
ignoreReadBeforeAssign: true
}],
'prefer-arrow-callback': 'error',
'prefer-const': ['error', { ignoreReadBeforeAssign: true }],
'rest-spread-spacing': 'error',
'template-curly-spacing': 'error',
'yield-star-spacing': 'error',
Expand Down

0 comments on commit 2c92a97

Please sign in to comment.