On 10 September 2014 01:01, Andy Earnshaw <[email protected]> wrote:

> *Git and linting tools usually bark at you if you have trailing white
> space anyway*
>

Template string is a literal,  so any of the linter should not complain
about the trailing whitespace inside, if so this should considered as a bug
in linter itself.

*> should have the indentation removed, but not in the case where a
non-white space character is between the first ` and the newline? *

Correct, with the new line developer explicitly defines he wants his
template string to be auto deindented, otherwise leaves the string as is.
It is more flexible, and there is no need in any of the tags as was
suggested.

Cheers, Alex
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to