ESlint Updates

Mark Banner mbanner at mozilla.com
Mon Jan 30 13:39:01 UTC 2017


Three quick notes about updates for things we're doing with ESlint and 
Firefox:

 1. There's a new help page on devmo with ESLint tips & advice:
    https://developer.mozilla.org/docs/ESLint
 2. Jared has been posting about about rules being enabled on his blog:
    https://msujaws.wordpress.com/
 3. I have just landed enabling the no-undef
    <http://eslint.org/docs/rules/no-undef> rule for services/
    <https://bugzilla.mozilla.org/show_bug.cgi?id=1333044> on autoland
    (assuming it sticks).

More information on no-undef:

  * I'm planning to enable it for toolkit/ and browser/ soon. This is
    likely to be a phased roll-out.
  * Due to the way our import system works (Cu.import and also xul/html
    files including multiple js files), detecting all the globals has
    been quite complicated. We're getting there, but it isn't perfect
    yet, but we've already been finding bugs and dead code, so the
    benefits are real.
  * The devmo page lists hints for working with no-undef
    <https://developer.mozilla.org/docs/ESLint#no-undef>. These should
    hopefully get simpler over time.

If there's any questions or comments, please stop by #eslint on irc.

Mark.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20170130/51eac7c3/attachment.html>


More information about the firefox-dev mailing list