summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-04-15 21:22:12 -0700
committerJames M Snell <jasnell@gmail.com>2016-04-18 17:19:16 -0700
commitca698330ac284bdb8b236edcb4f07daa108b858c (patch)
tree2cd71baa5acad41688c29525d55db301799f1e7a /.eslintrc
parent31600735f40e02935b936802ff42d66d49e9769b (diff)
downloadandroid-node-v8-ca698330ac284bdb8b236edcb4f07daa108b858c.tar.gz
android-node-v8-ca698330ac284bdb8b236edcb4f07daa108b858c.tar.bz2
android-node-v8-ca698330ac284bdb8b236edcb4f07daa108b858c.zip
tools: lint for alignment of variable assignments
Enforce alignment/indentation on variable assignments that span multiple lines. PR-URL: https://github.com/nodejs/node/pull/6242 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.eslintrc b/.eslintrc
index 8e01cc4c94..e8496e8560 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -13,7 +13,7 @@ rules:
no-duplicate-case: 2
no-empty-character-class: 2
no-ex-assign: 2
- no-extra-boolean-cast : 2
+ no-extra-boolean-cast: 2
no-extra-parens: [2, "functions"]
no-extra-semi: 2
no-func-assign: 2
@@ -86,7 +86,7 @@ rules:
# Custom rules in tools/eslint-rules
new-with-error: [2, "Error", "RangeError", "TypeError", "SyntaxError", "ReferenceError"]
-
+ align-multiline-assignment: 2
# Global scoped method and vars
globals: