From 3df48e2d4ed4aa33a20b44b8fde93ca04766155f Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Wed, 27 Nov 2019 15:43:46 -0700 Subject: [PATCH] Remove no-unexpected-multiline rule --- CHANGELOG.md | 11 +++-------- packages/eslint-config-react-app/index.js | 1 - 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 172c0a14d9d..96dac9fb423 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,14 +48,9 @@ We've removed this rule as it is not compatible with Prettier. If you rely on th ```json { "extends": "react-app", - "overrides": [ - { - "files": ["**/*.{js,ts?(x)}"], - "rules": { - "no-unexpected-multiline": "warn" - } - } - ] + "rules": { + "no-unexpected-multiline": "warn" + } } ``` diff --git a/packages/eslint-config-react-app/index.js b/packages/eslint-config-react-app/index.js index d00e80dd74c..68959e165af 100644 --- a/packages/eslint-config-react-app/index.js +++ b/packages/eslint-config-react-app/index.js @@ -188,7 +188,6 @@ module.exports = { 'no-throw-literal': 'warn', 'no-undef': 'error', 'no-restricted-globals': ['error'].concat(restrictedGlobals), - 'no-unexpected-multiline': 'warn', 'no-unreachable': 'warn', 'no-unused-expressions': [ 'error',