diff --git a/.eslintrc b/.eslintrc index 8cd144b606..1d8c665d56 100644 --- a/.eslintrc +++ b/.eslintrc @@ -47,7 +47,6 @@ "array-callback-return": 1, "no-restricted-syntax": 1, "implicit-arrow-linebreak": 1, - "no-useless-return": 1, "valid-jsdoc": 1, }, "overrides": [ diff --git a/lib/rules/jsx-first-prop-new-line.js b/lib/rules/jsx-first-prop-new-line.js index 1d967d25c5..9766a5ae3c 100644 --- a/lib/rules/jsx-first-prop-new-line.js +++ b/lib/rules/jsx-first-prop-new-line.js @@ -62,10 +62,8 @@ module.exports = { return fixer.replaceTextRange([node.name.range[1], firstNode.range[0]], ' '); } }); - return; } } - return; } }; } diff --git a/lib/rules/no-array-index-key.js b/lib/rules/no-array-index-key.js index c479fb0981..2a26871d6f 100644 --- a/lib/rules/no-array-index-key.js +++ b/lib/rules/no-array-index-key.js @@ -150,8 +150,6 @@ module.exports = { identifiers.filter(isArrayIndex).forEach(() => { context.report({node: node, message: ERROR_MESSAGE}); }); - - return; } }