summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:04:47 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:04:47 +0300
commit85de842fca3eebedb0a4b9d677825c92dde4080a (patch)
treef198e4c0781f72787733baf33e0ea09266356b76 /src/rules
parent8b3dc0cee431945f31098a77c3a7cec0fb666b48 (diff)
downloadeslint-config-85de842fca3eebedb0a4b9d677825c92dde4080a.tar.xz
eslint-config-85de842fca3eebedb0a4b9d677825c92dde4080a.zip
feat(eslint): Rule "prefer-rest-params"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json3
1 files changed, 3 insertions, 0 deletions
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",