diff options
author | Rich Trott <rtrott@gmail.com> | 2016-05-12 14:33:46 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-05-15 18:22:50 -0700 |
commit | d73e189c26bd3b25a586bcea7dee89163bcd58b4 (patch) | |
tree | d43f55f2cf5374f37a3e8a4635ecf0bd4ab1153a /tools/eslint-rules | |
parent | 9bc72ea0ded0cbe3c0e349d446787636efdb0618 (diff) | |
download | android-node-v8-d73e189c26bd3b25a586bcea7dee89163bcd58b4.tar.gz android-node-v8-d73e189c26bd3b25a586bcea7dee89163bcd58b4.tar.bz2 android-node-v8-d73e189c26bd3b25a586bcea7dee89163bcd58b4.zip |
tools,test: make argument linting more stringent
The custom linting rule for argument alignment in multi-line function
calls previously ignored template strings in an effort to avoid false
positives. This isn't really necessary. Enforce for template strings and
adjust whitespace in three tests to abide. (Insert "The test abides"
joke of your choosing here.)
PR-URL: https://github.com/nodejs/node/pull/6720
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools/eslint-rules')
-rw-r--r-- | tools/eslint-rules/align-function-arguments.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/eslint-rules/align-function-arguments.js b/tools/eslint-rules/align-function-arguments.js index a8cd71660d..55ce5a4fdb 100644 --- a/tools/eslint-rules/align-function-arguments.js +++ b/tools/eslint-rules/align-function-arguments.js @@ -33,7 +33,6 @@ function checkArgumentAlignment(context, node) { 'CallExpression', 'FunctionExpression', 'ObjectExpression', - 'TemplateLiteral' ]; const args = node.arguments; |