mirror of https://github.com/nodejs/node.git
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>pull/6731/head
parent
9bc72ea0de
commit
d73e189c26
|
@ -33,7 +33,6 @@ function checkArgumentAlignment(context, node) {
|
|||
'CallExpression',
|
||||
'FunctionExpression',
|
||||
'ObjectExpression',
|
||||
'TemplateLiteral'
|
||||
];
|
||||
|
||||
const args = node.arguments;
|
||||
|
|
Loading…
Reference in New Issue