ESlint Updates

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ESlint Updates

Mark Banner-4
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.

_______________________________________________
dev-planning mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-planning