From c7f763a0764ce455adb48cf0ba65b9284d16648e Mon Sep 17 00:00:00 2001 From: David Anson Date: Fri, 25 May 2018 17:40:36 -0700 Subject: [PATCH] Enable ESLint rules prefer-rest-params, prefer-spread. --- .eslintrc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ca0b837e..20c7ebb7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -229,8 +229,8 @@ "prefer-numeric-literals": "error", "prefer-promise-reject-errors": "error", "prefer-reflect": "off", - "prefer-rest-params": "off", - "prefer-spread": "off", + "prefer-rest-params": "error", + "prefer-spread": "error", "prefer-template": "off", "quote-props": "error", "quotes": "error",