Skip to content

Commit fffc777

Browse files
authored
Remove no-unexpected-multiline rule (#8039)
1 parent 6a3ccc3 commit fffc777

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,9 @@ We've removed this rule as it is not compatible with Prettier. If you rely on th
4848
```json
4949
{
5050
"extends": "react-app",
51-
"overrides": [
52-
{
53-
"files": ["**/*.{js,ts?(x)}"],
54-
"rules": {
55-
"no-unexpected-multiline": "warn"
56-
}
57-
}
58-
]
51+
"rules": {
52+
"no-unexpected-multiline": "warn"
53+
}
5954
}
6055
```
6156

packages/eslint-config-react-app/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ module.exports = {
188188
'no-throw-literal': 'warn',
189189
'no-undef': 'error',
190190
'no-restricted-globals': ['error'].concat(restrictedGlobals),
191-
'no-unexpected-multiline': 'warn',
192191
'no-unreachable': 'warn',
193192
'no-unused-expressions': [
194193
'error',

0 commit comments

Comments
 (0)