From 85de842fca3eebedb0a4b9d677825c92dde4080a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:04:47 +0400 Subject: feat(eslint): Rule "prefer-rest-params" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 29d3c4b..2dfa706 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -242,7 +242,7 @@ - [ ] "prefer-promise-reject-errors" - [X] "prefer-reflect" - [ ] "prefer-regex-literals" -- [ ] "prefer-rest-params" +- [X] "prefer-rest-params" - [ ] "prefer-spread" - [ ] "prefer-template" - [X] "quote-props" diff --git a/src/rules/default.json b/src/rules/default.json index 68a20a9..af45e83 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -401,6 +401,9 @@ "prefer-reflect": [ "off" ], + "prefer-rest-params": [ + "error" + ], "quote-props": [ "error", "consistent-as-needed", -- cgit v1.2.3