<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 4:43 PM, Andreas Tolfsen <span dir="ltr"><<a href="mailto:ato@mozilla.com" target="_blank">ato@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 27 November 2015 at 22:53, Dave Townsend <<a href="mailto:dtownsend@mozilla.com">dtownsend@mozilla.com</a>> wrote:<br>
> Going forwards we'd like to enable it in more directories and turn on<br>
> more rules. You can help! If there is a directory you work in a lot<br>
> try removing it from the top-level .eslintignore file and see what<br>
> fails, then fix it. Mostly it will be simple fixes.<br>
<br>
</span>Is it possible to configure it to accept ES7 object destructuring assignment?<br>
<br>
const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;<br></blockquote><div><br></div><div>Yes it is. We're using a lot of those in devtools code, and eslint parses them just fine.<br></div><div>You can fine tune which language options you want to enable/disable: <a href="http://eslint.org/docs/user-guide/configuring#specifying-language-options">http://eslint.org/docs/user-guide/configuring#specifying-language-options</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5">_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
</div></div></blockquote></div><br></div></div>