Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Jared Wein
0c024fa9ca
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Dave Townsend
cbf4f5fcdd
Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
...
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.
MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Dave Townsend
6146fbb7b2
Backed out changeset 3e5b6df276a9 from bug 1245916 for causing test failures.
...
MozReview-Commit-ID: CbsTB3xqGC6
2016-02-15 11:36:23 -08:00
Dave Townsend
c661daf87a
Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
...
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.
MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Dave Townsend
a215a4a95a
Bug 1245649: Turn on no-extra-semi. r=markh
2016-02-03 17:27:36 -08:00
Robert Helmer
dc79ff64ce
Bug 1239484 - remove use of Object.values() r=mossop
2016-01-19 11:01:19 -08:00
Robert Helmer
f8116c2128
bug 1228792 - remove use of array comprehensions r=mossop
2015-12-02 18:40:59 -08:00
Dave Townsend
5493324e67
Bug 1226386: Switch to fat arrow functions where it makes sense. r=rhelmer
...
Both for brevity and to remove the use of |self = this|.
2015-11-20 10:06:14 -08:00
Dave Townsend
315c15417d
Bug 1226386: Remove functions names where possible. r=rhelmer
...
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.
2015-11-19 16:35:41 -08:00
Tooru Fujisawa
2bf22fe47e
Bug 1217082 - Remove for-each from toolkit/. r=Gijs
2015-10-19 04:57:14 +09:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Emma Sajic
d857441e76
Bug 661982: Toolkit Add-ons Manager logging to be changed to use Log.jsm;r=irving
2014-02-23 12:27:59 -05:00
Alexander J. Vincent
124eff5db7
Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused
2014-01-07 20:14:08 -08:00