Proposal: No LineTerminator should be allowed between {CallExpression, MemberExpression} TemplateLiteral

Shinji Ikari ikarienator at gmail.com
Fri Feb 13 15:39:29 PST 2015


The connection between a CallExpression/MemberExpression and a
TemplateLiteral does not requires delimiters. They are both common and
allowed independently. CallExpression / MemberExpressions are allowed to
end a statement and TemplateLiterals are allowed to start a statement. When
adopting "semicolon free" style, it will become a problem because the
connection between the two is not visually clear if there's a new line
between them.

I propose we add a [No LineTerminator here] between
CallExpression/MemberExpression and TemplateLiteral.

Thanks,
Bei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150213/79de6f97/attachment.html>


More information about the es-discuss mailing list