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>
This commit is contained in:
parent
85dacd63f0
commit
3d8a9e2424
@ -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},
|
||||
|
Loading…
x
Reference in New Issue
Block a user