<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 26/11/2015 19:58, Dave Townsend wrote:<br>
<blockquote
cite="mid:CAPMxTNqPDM__+H+-6qA_ZQyo27bxNcQLu=Ls6c7j8GwhZ_Sm=g@mail.gmail.com"
type="cite">
<pre wrap="">On Thu, Nov 26, 2015 at 5:56 AM, Mark Banner <a class="moz-txt-link-rfc2396E" href="mailto:mbanner@mozilla.com"><mbanner@mozilla.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">eslint can already cope with a lot of es6. There are some constructs that we
use that are Mozilla specific, or there may be some things that are so new
they don't work in eslint yet. We can either not use them, or write plugins,
or get eslint extended.
</pre>
</blockquote>
<pre wrap="">
Forgot to ask, do we have a list of these things? I think we should be
able to get eslint extended to support them.
</pre>
</blockquote>
The only things I currently know of are:<br>
<br>
- `catch(ex if ex instanceOf Error)` this isn't on a standards
track, and we might have to write a plugin if we want to keep it.<br>
- Array Comprehensions: `[ x for (x of a) if (x.color === ‘blue’) ]`
however, these might not get standized, so we'd probably need to
write our own if we keep using them (xref
<a class="moz-txt-link-freetext" href="https://github.com/eslint/espree/issues/125">https://github.com/eslint/espree/issues/125</a>).<br>
<br>
Mark.
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</body>
</html>