diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -238,7 +238,7 @@ - [ ] "prefer-exponentiation-operator" - [ ] "prefer-named-capture-group" - [ ] "prefer-numeric-literals" -- [ ] "prefer-object-spread" +- [X] "prefer-object-spread" - [ ] "prefer-promise-reject-errors" - [X] "prefer-reflect" - [ ] "prefer-regex-literals" diff --git a/src/rules/default.json b/src/rules/default.json index 5a92435..68a20a9 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -395,6 +395,9 @@ "ignoreReadBeforeAssign": false } ], + "prefer-object-spread": [ + "error" + ], "prefer-reflect": [ "off" ], |