ESlint Updates

Mark Banner <[email protected]> Mon, 30 Jan 2017 13:39:01 +0000
Newsgroups gmane.comp.mozilla.firefox.devel,gmane.comp.mozilla.devel.seamonkey
Message-ID <[email protected]>
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.

_______________________________________________
firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/firefox-dev