mirror of https://github.com/lukechilds/node.git
Browse Source
All linting now uses the current ESLint 4.3.0 indentation linting. Remove legacy indentation rules. Backport-PR-URL: https://github.com/nodejs/node/pull/14835 PR-URL: https://github.com/nodejs/node/pull/14515 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>v6.x
committed by
Myles Borins
20 changed files with 59 additions and 86 deletions
@ -1,12 +0,0 @@ |
|||
## 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}] |
Loading…
Reference in new issue