From 8f4f5b3ca50c61a17877d4b0d46ced17b420e33a Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Tue, 19 Jan 2016 03:17:39 +0100 Subject: [PATCH] tools: enable space-in-parens ESLint rule Ref: http://eslint.org/docs/rules/space-in-parens.html PR-URL: https://github.com/nodejs/node/pull/4753 Reviewed-By: Colin Ihrig Reviewed-By: Evan Lucas --- .eslintrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index fec8179aa31f14..8d9988acef7adc 100644 --- a/.eslintrc +++ b/.eslintrc @@ -67,8 +67,10 @@ rules: eol-last: 2 ## no trailing spaces no-trailing-spaces: 2 - # require space after keywords, eg 'for (..)' + ## require space after keywords, eg 'for (..)' space-after-keywords: 2 + ## no leading/trailing spaces in parens + space-in-parens: [2, "never"] # ECMAScript 6 # list: http://eslint.org/docs/rules/#ecmascript-6