From 3b006a31857e590733be7e54659ddc8a214eaa80 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 11 Aug 2016 14:29:22 -0700 Subject: [PATCH] tools: enable rest-spread-spacing There are currently 17 instances of the spread operator and all of them have no space between the operator and the subsequent argument. This change enables a lint rule to enforce that same style on any future uses of the spread operator. Refs: https://github.com/nodejs/node/pull/6573/files/7a1b47f329f2e6481ef8f54951570197fd98378d#r74479351 --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index e03b7865ed5e64..ea69526dda8d7a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -87,6 +87,7 @@ rules: no-new-symbol: 2 no-this-before-super: 2 prefer-const: 2 + rest-spread-spacing: 2 template-curly-spacing: 2 # Custom rules in tools/eslint-rules