diff --git a/packages/eslint-config-migme/rules/es6.js b/packages/eslint-config-migme/rules/es6.js index 5d1a3a7..907c46e 100644 --- a/packages/eslint-config-migme/rules/es6.js +++ b/packages/eslint-config-migme/rules/es6.js @@ -25,7 +25,9 @@ module.exports = { after: true, }], 'no-class-assign': 2, - 'no-confusing-arrow': 2, + 'no-confusing-arrow': [2, { + allowParens: true + }], 'no-const-assign': 2, 'no-dupe-class-members': 2, 'no-duplicate-imports': 2, diff --git a/packages/eslint-config-migme/rules/style.js b/packages/eslint-config-migme/rules/style.js index 45cd35f..59da886 100644 --- a/packages/eslint-config-migme/rules/style.js +++ b/packages/eslint-config-migme/rules/style.js @@ -47,14 +47,14 @@ module.exports = { }], 'new-parens': 2, 'newline-after-var': 0, - 'newline-before-return': 2, + 'newline-before-return': 0, 'newline-per-chained-call': [2, { ignoreChainWithDepth: 2 }], 'no-array-constructor': 2, 'no-bitwise': 0, 'no-continue': 0, 'no-inline-comments': 0, 'no-lonely-if': 0, - 'no-mixed-operators': 2, + 'no-mixed-operators': 0, 'no-mixed-spaces-and-tabs': 2, 'no-multiple-empty-lines': [2, { max: 1 }], 'no-negated-condition': 2,