summaryrefslogtreecommitdiff
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-07-06 10:00:43 -0700
committerRich Trott <rtrott@gmail.com>2017-07-07 07:10:37 -0700
commit3d8a9e2424f3cd14a3a63a5304b28beefd42dfb2 (patch)
tree8fd729fe80950974d3daddd830f723d7d5939688 /.eslintrc.yaml
parent85dacd63f0938cf135d49d393ceb9e85b4b1fac5 (diff)
downloadandroid-node-v8-3d8a9e2424f3cd14a3a63a5304b28beefd42dfb2.tar.gz
android-node-v8-3d8a9e2424f3cd14a3a63a5304b28beefd42dfb2.tar.bz2
android-node-v8-3d8a9e2424f3cd14a3a63a5304b28beefd42dfb2.zip
tools: fix error in eslintrc comment
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 <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 133bd67e71..5e025301fe 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},