summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 89e8d24..29d3c4b 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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"
],