From 97934f99bbcdeae1cf7e7939f0a8d88bd8aa90fd Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 6 Aug 2016 12:11:38 -0700 Subject: [PATCH] tools: enable linting for chained properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/7920 PR-URL: https://github.com/nodejs/node/pull/7999 Reviewed-By: Colin Ihrig Reviewed-By: Roman Reiss Reviewed-By: James M Snell Reviewed-By: Johan Bergström --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 120bca8d2f..e03b7865ed 100644 --- a/.eslintrc +++ b/.eslintrc @@ -58,7 +58,7 @@ rules: brace-style: [2, 1tbs, {allowSingleLine: true}] comma-spacing: 2 eol-last: 2 - indent: [2, 2, {SwitchCase: 1}] + indent: [2, 2, {SwitchCase: 1, MemberExpression: 1}] key-spacing: [2, {mode: minimum}] keyword-spacing: 2 linebreak-style: [2, unix]