mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
496f60489d
Enable stricter indentation rules for benchmark code. PR-URL: https://github.com/nodejs/node/pull/13895 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
14 lines
468 B
YAML
14 lines
468 B
YAML
## Benchmarks-specific linter rules
|
|
|
|
rules:
|
|
# Stylistic Issues
|
|
# http://eslint.org/docs/rules/#stylistic-issues
|
|
indent: [2, 2, {ArrayExpression: first,
|
|
CallExpression: {arguments: first},
|
|
FunctionDeclaration: {parameters: first},
|
|
FunctionExpression: {parameters: first},
|
|
MemberExpression: off,
|
|
ObjectExpression: first,
|
|
SwitchCase: 1}]
|
|
indent-legacy: 0
|