summaryrefslogtreecommitdiff
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-07-27 09:29:15 -0700
committerRich Trott <rtrott@gmail.com>2017-07-30 09:21:52 -0700
commite9b67f7e5deb60bef05036be9eaaa5b919364d63 (patch)
treeb41530f13daa0d835202edb7b0046c1e48d8b5b5 /.eslintrc.yaml
parent2791761edaf7c3cca41db9c2428bf26d14d8fd01 (diff)
downloadnode-new-e9b67f7e5deb60bef05036be9eaaa5b919364d63.tar.gz
tools: remove legacy indentation linting
All linting now uses the current ESLint 4.3.0 indentation linting. Remove legacy indentation rules. 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>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml19
1 files changed, 7 insertions, 12 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index f8ef2cec41..e510de49b7 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -101,18 +101,13 @@ rules:
func-call-spacing: error
func-name-matching: error
func-style: [error, declaration, {allowArrowFunctions: true}]
- # indent: [error, 2, {ArrayExpression: first,
- # CallExpression: {arguments: first},
- # FunctionDeclaration: {parameters: first},
- # FunctionExpression: {parameters: first},
- # MemberExpression: off,
- # ObjectExpression: first,
- # SwitchCase: 1}]
- indent-legacy: [error, 2, {ArrayExpression: first,
- CallExpression: {arguments: first},
- MemberExpression: 1,
- ObjectExpression: first,
- SwitchCase: 1}]
+ indent: [error, 2, {ArrayExpression: first,
+ CallExpression: {arguments: first},
+ FunctionDeclaration: {parameters: first},
+ FunctionExpression: {parameters: first},
+ MemberExpression: off,
+ ObjectExpression: first,
+ SwitchCase: 1}]
key-spacing: [error, {mode: minimum}]
keyword-spacing: error
linebreak-style: [error, unix]