From e17fb82c06cc67dac27a5ce8b428cafb6a4458a2 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 6 Jul 2017 10:00:43 -0700 Subject: [PATCH] tools: fix error in eslintrc comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 46d7cb88c7f8b416e667c52de80e6766115b3781 introduced an error in a comment in `.eslintrc.yaml`. The second option needs to be an integer specifying the number of spaces per level of indentation. PR-URL: https://github.com/nodejs/node/pull/14108 Reviewed-By: Vse Mozhet Byt Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann Reviewed-By: Alexey Orlenko --- .eslintrc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 133bd67e71651d..5e025301fe8a62 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -101,7 +101,7 @@ rules: func-call-spacing: error func-name-matching: error func-style: [error, declaration, {allowArrowFunctions: true}] - # indent: [error, error, {ArrayExpression: first, + # indent: [error, 2, {ArrayExpression: first, # CallExpression: {arguments: first}, # FunctionDeclaration: {parameters: first}, # FunctionExpression: {parameters: first},