mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
ea36609fc9
ESLint 4.0.0 provides stricter (and more granular) indentation checking than previous versions. Apply the stricter indentation rules to the tools directory. PR-URL: https://github.com/nodejs/node/pull/13758 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
13 lines
444 B
YAML
13 lines
444 B
YAML
## Tools-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}]
|