aboutsummaryrefslogtreecommitdiff
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 2dfa706..17e92af 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -243,7 +243,7 @@
- [X] "prefer-reflect"
- [ ] "prefer-regex-literals"
- [X] "prefer-rest-params"
-- [ ] "prefer-spread"
+- [X] "prefer-spread"
- [ ] "prefer-template"
- [X] "quote-props"
- [X] "quotes"
diff --git a/src/rules/default.json b/src/rules/default.json
index af45e83..e5e5bd7 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -404,6 +404,9 @@
"prefer-rest-params": [
"error"
],
+ "prefer-spread": [
+ "error"
+ ],
"quote-props": [
"error",
"consistent-as-needed",