diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:04:47 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:04:47 +0300 |
commit | 85de842fca3eebedb0a4b9d677825c92dde4080a (patch) | |
tree | f198e4c0781f72787733baf33e0ea09266356b76 | |
parent | 8b3dc0cee431945f31098a77c3a7cec0fb666b48 (diff) | |
download | eslint-config-85de842fca3eebedb0a4b9d677825c92dde4080a.tar.xz eslint-config-85de842fca3eebedb0a4b9d677825c92dde4080a.zip |
feat(eslint): Rule "prefer-rest-params"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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", |