From 6aa92d5a982933d03bfcd5fc153206287fba2219 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 8 May 2016 23:09:22 -0700 Subject: [PATCH] tools: disallow multiple spaces except indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Except for indentation, disallow multiple whitespace around logical expressions, conditional expressions, declarations, array elements, object properties, sequences and function parameters. PR-URL: https://github.com/nodejs/node/pull/6645 Reviewed-By: Michaƫl Zasso Reviewed-By: Brian White Reviewed-By: Roman Reiss --- .eslintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc b/.eslintrc index 542be9ceaa749d..757024f89c6262 100644 --- a/.eslintrc +++ b/.eslintrc @@ -30,6 +30,7 @@ rules: # Best Practices # http://eslint.org/docs/rules/#best-practices no-fallthrough: 2 + no-multi-spaces: 2 no-octal: 2 no-redeclare: 2 no-self-assign: 2