Граф коммитов

270 Коммитов

Автор SHA1 Сообщение Дата
Dan Banner 436f06fda4 Bug 1386684 - Enable ESLint for toolkit/components/url-classifier (automatic fixes). r=hchang
MozReview-Commit-ID: F0Z8dRaYOku

--HG--
extra : rebase_source : 3ebc9ab6ea9f1741d8a986c9217575644411e2a1
2017-08-02 16:12:07 +01:00
Tom Tromey ef9552735d Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn

--HG--
extra : rebase_source : 3242c0bcfcb5d04343c1a724fe78904d5f52e567
2017-08-04 13:14:11 -06:00
Dan Banner 106d999025 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc

--HG--
extra : rebase_source : bcd8bfa32c5d93f4559bda985521c3805b43c6b6
2017-07-31 16:34:04 +01:00
Julian Descottes 54c09394be Bug 1386620 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks

--HG--
extra : rebase_source : bb85aa12ec92db7d11abdb002f0429123b173afd
extra : source : 9622410d90ad264933ee7d1147ed655615ac4a19
2017-07-21 12:27:35 +02:00
Wes Kocher 2f468040aa Backed out changeset 856215476aa4 (bug 1386666) for eslint failures a=backout
MozReview-Commit-ID: FdO8WkzBvfj
2017-08-02 11:47:42 -07:00
Dan Banner 2514f6e1e4 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc

--HG--
extra : rebase_source : bfb2c488d598f528bdbe0383051322c964fb1497
2017-07-31 16:34:04 +01:00
Sebastian Hengst 9d40682893 Backed out changeset d0ed0997f4e0 (bug 1369801)
MozReview-Commit-ID: P1ViGMmdnT
2017-07-27 18:14:48 +02:00
Andreas Tolfsen 19067aea8f Bug 1384517 - Exclude testing/marionette/doc from linting; r=automatedtester
It also lists directories instead of globbing all files.

MozReview-Commit-ID: ApxmKVfEWTz

--HG--
extra : rebase_source : aca824c543e4a32499c6faa7593b3f18dddbe69c
2017-07-26 15:04:51 +01:00
Julian Descottes be3db82a6e Bug 1369801 - dt-addon-prefs: move jsonview enabled pref outside of devtools addon;r=ochameau
DevTools preferences are loaded dynamically by calling DevtoolsPreferences.loadPrefs().
We can not preload them when the addon starts, otherwise this will slow down the startup
of Firefox.

But jsonview's converter-observer needs to check preferences to check if jsonview is
enabled very early. Moving devtools.jsonview.enabled to a separate preferences file
that is still processed by firefox fixes the issue.

The downside is that this pref will keep following m-c's release cycle and not the addon's.
But it is so generic it should not be a big issue.


MozReview-Commit-ID: HrD5IVe54Ks

--HG--
extra : rebase_source : 7feb021770c827996e276b60169b08093ecc1ff0
2017-07-21 12:27:35 +02:00
Luke Chang 12f00b0a9b Bug 1352324 - (Part 4) Fix eslint errors of PhoneNumber utility. r=MattN
MozReview-Commit-ID: 6UwifrRz3xA

--HG--
extra : rebase_source : ca1eb8e696f0e98b6cf502f1c6ae04f1705adaa4
2017-06-28 16:01:25 -07:00
Mark Banner 50ff8fd9f1 Bug 1378788 - Clean up .eslintignore and clarify the directories that don't have js files. r=mossop
MozReview-Commit-ID: DxhMBv5xgh2

--HG--
extra : rebase_source : 323841b3091f873cdd050beaf62363c38a57b5c9
2017-07-06 15:31:07 +01:00
Hemant Singh Patwal 53e34790cc Bug 1378767 - Enable ESLint for extensions/pref/ r=standard8
MozReview-Commit-ID: BJWBoD3lcTb

--HG--
extra : rebase_source : b3ee9d94abdbe19a355c85da2b5abf148fe43689
2017-07-07 15:30:25 +05:30
Alexandre Poirot f490858f8f Bug 1378151 - Remove toolbox-process-window.js preprocessing and enable eslint. r=jdescottes
MozReview-Commit-ID: 6qPg0jSsdsR

--HG--
extra : rebase_source : af62ae660071fe119c73be173741152a81b848a2
2017-07-04 17:05:12 +02:00
Beekill95 2c51be9561 Bug 1331937 - Extend session restore Talos test with many windows. r=mikedeboer,jmaher
MozReview-Commit-ID: LjaSszpTLOe
2017-06-28 09:42:34 +07:00
Andreas Tolfsen 065a59f64f Bug 1376128 - Update lint ignore patterns for testing/marionette; r=automatedtester,standard8
We want to ignore a certain subset of generated and legacy code
in testing/marionette, most notably testing/marionette/atom.js and
testing/marionette/legacyaction.js.  Since the latter is scheduled for
removal, there is no need to spend extra time linting it.

MozReview-Commit-ID: OyRoM2uigG

--HG--
extra : rebase_source : 3ff2d45772358a12b526007910d980cfe6984a02
2017-06-24 19:01:48 +01:00
Mark Banner ed3e830fe1 Bug 1376357 - Automatically fix ESLint issues in dom/media/*.js*. r=bwc
MozReview-Commit-ID: 6JXIHvJoZqS

--HG--
extra : rebase_source : 601c811e8cf623bf5a29c2bdbcdd2f1413a6eaca
2017-06-28 12:41:50 -07:00
Geoff Brown 1a7d0e6a5d Bug 1375903 - Enable eslint on testing/talos - additional changes; r=jmaher 2017-06-28 06:58:03 -06:00
Geoff Brown f227d92d5a Bug 1375903 - Enable eslint on testing/talos - mechanical changes; r=jmaher
Most of these changes were made by 'mach eslint --fix'.
2017-06-28 06:58:01 -06:00
Geoff Brown 03ec89d132 Bug 1375678 - Enable lint on testing/modules - mechanical changes; r=standard8 2017-06-23 15:08:02 -06:00
Mark Banner 4002c34391 Bug 1369028 - Add build infrastructure for follow-on search telemetry system add-on. r=Mossop
MozReview-Commit-ID: E3R57DXa57l
2017-06-08 15:57:08 +01:00
Ryan VanderMeulen fbad48acb5 Merge m-c to autoland. a=merge 2017-05-30 20:47:52 -04:00
Geoff Brown 67daf2d2b0 Bug 1367780 - Enable eslint on testing/firefox-ui,mozbase,profiles,specialpowers - mechanical updates; r=Standard8 2017-05-30 16:06:29 -06:00
Tom Tromey 16063b583c Bug 1355126 - regression test for absolute sourceRoot; r=bgrins
MozReview-Commit-ID: EOsAWOr5XWn

--HG--
extra : rebase_source : 0abbd5d0bc85eba729cc2e4f0ccb65efca12cbfc
2017-05-30 13:08:12 -06:00
Michael Kohler a08b8034b2 Bug 1256768 - Fix ESLint errors/warnings in devtools/client/webconsole/console-output.js r=nchevobbe
MozReview-Commit-ID: 76jPTnoqWq7

--HG--
extra : rebase_source : 4bb78c07caccfff16796dbbcf5b56092cb9a300a
2017-05-20 22:54:41 +02:00
Eden Chuang 68cf4559f8 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Geoff Brown 6fe3dae59f Bug 1367235 - Enable eslint on testing/xpcshell - mechanical updates; r=Standard8 2017-05-25 07:32:42 -06:00
Tom Tromey 662cf5a1e6 Bug 1361853 - use client-side source map service in network monitor; r=Honza
MozReview-Commit-ID: A0lDkK12x8E

--HG--
extra : rebase_source : c7a2389126289a8390780a308487936f26ceab5f
2017-05-10 14:07:06 -06:00
Tom Tromey ea788b5b50 Bug 1333352 - use client-side source map service in markup view event bubble; r=jdescottes
MozReview-Commit-ID: D8bF5kkHp2p

--HG--
extra : rebase_source : 88ff42bbedbd844dee3360c132f40ec8188aa692
2017-05-12 14:34:26 -06:00
Hemant Singh Patwal 6acadff2d1 Bug 1362421 - Enable eslint on caps/tests/mochitest/browser_checkloaduri.js. r=standard8
MozReview-Commit-ID: ZIec0SdBaa

--HG--
extra : rebase_source : 7bf902837ab737ddb8fbeacae96030403fcce57f
2017-05-12 20:06:39 +05:30
Mark Banner 2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst 95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner 256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Mark Banner 8e1287201b Bug 1363793 - Ignore js/src/Y.js for lint purposes. r=evilpie
MozReview-Commit-ID: 2CUl7d3kHLs

--HG--
extra : rebase_source : 50dbe0e988092dc487381554d52dbd8abb1fca23
2017-05-10 16:56:32 +01:00
Mark Banner 8832bd77b0 Bug 1363080 - Ignore /third_party directory when running ESLint. r=jaws
MozReview-Commit-ID: H1zWZZQRaLy

--HG--
extra : rebase_source : e8ed93d6a993263e22aebc2972bb161a5e8f2d80
2017-05-08 18:10:33 +01:00
Wes Kocher 75c2b7a481 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Fabien Casters fe92e878e9 Bug 1331802 - Fix remaining ESLint issues in devtools/server/actors/ r=tromey
MozReview-Commit-ID: 3dqvmCywg3s

--HG--
extra : rebase_source : 222ff49f275bc0eb86c3b7d099a2255ea8c8776d
2017-05-03 23:26:19 +02:00
Geoff Brown 21d0203054 Bug 1361859 - Enable eslint on caps/ directory; r=standard8
Stop excluding caps/ from eslint runs and apply mozilla/recommended rules.
This generally affects xpcshell and mochitest files under caps/tests.
Includes many mechanical changes to comply with mozilla recommended
formatting rules.
2017-05-08 07:49:06 -06:00
Alexandre Poirot af4176fc70 Bug 1360237 - Fix eslint issues for devtools/client/framework/devtools-browser.js. r=pbro
MozReview-Commit-ID: 3P2VOksEmQd

--HG--
extra : rebase_source : a735b888b5a99263f004f4eb92954c7590bc0219
2017-04-27 17:21:07 +02:00
Alexandre Poirot 0456b4d6eb Bug 1360237 - Fix eslint issues for devtools/client/framework/devtools.js. r=pbro
MozReview-Commit-ID: 8mWiLTsH4Sb

--HG--
extra : rebase_source : af636828a21a8bfa11287a5eeae4ade08de45056
2017-04-27 17:19:17 +02:00
Geoff Brown 708a1b1c64 Bug 1359541 - Enable eslint on mobile/android/tests; r=standard8,snorp 2017-04-27 07:52:58 -06:00
Ed Lee 293f8ac4f5 Bug 1359481 - Add top sites and search to activity-stream system add-on. r=Mardak 2017-04-25 13:31:29 -07:00
Mark Banner 075f58be60 Bug 1346825 - Setup build configuration for Firefox Screenshots in Firefox (and disable screenshots by default). r=gps,Mossop
Screenshots is a system add-on imported from https://github.com/mozilla-services/screenshots/.

This is the initial build system patch for building screenshots. ESLint is ignored since Screenshots currently use their own version (this may change in the future).

MozReview-Commit-ID: 4OEcaduaeWE

--HG--
extra : source : d4b155c9ee3db31f5494e1d15bac0984932ed7a2
2017-03-10 12:34:54 +00:00
Wes Kocher 22cb3d1d3b Backed out 4 changesets (bug 1346825) for being the likely cause of devtools bustage a=backout CLOSED TREE
Backed out changeset 80999e98d40b (bug 1346825)
Backed out changeset 426aa68b32f0 (bug 1346825)
Backed out changeset d4b155c9ee3d (bug 1346825)
Backed out changeset 81b1a2207776 (bug 1346825)
2017-04-13 11:23:18 -07:00
Mark Banner 7e2d02b47d Bug 1346825 - Setup build configuration for Firefox Screenshots in Firefox (and disable screenshots by default). r=gps,Mossop
Screenshots is a system add-on imported from https://github.com/mozilla-services/screenshots/.

This is the initial build system patch for building screenshots. ESLint is ignored since Screenshots currently use their own version (this may change in the future).

MozReview-Commit-ID: 4OEcaduaeWE
2017-03-10 12:34:54 +00:00
Wes Kocher 53dde6a1d2 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Yiren Wang 5f88f7294a Bug 1264206 - Enable ESLint for browser/components/downloads and fix the existing issues. r=Standard8
MozReview-Commit-ID: HDjTxdFCnRp
2017-04-03 10:25:05 +01:00
Rajesh Kathiriya dce1b0c3e6 bug 1347642 - Fixed sanitizeDialog.js running in ESLint r=standard8
MozReview-Commit-ID: A7mVW5hbvya

--HG--
extra : rebase_source : 409f0d9533a5e59ac6ba70c32ef917febba78d6b
2017-03-31 00:19:31 +05:30
k88hudson 14c5e8022b Bug 1349288 - Add Redux and React files to activity-stream extension. r=standard8
MozReview-Commit-ID: 7zWTj5Z4vJa

--HG--
extra : rebase_source : 22575a8fb8a273c9b60e1532d82b7930e026526e
2017-03-24 11:16:35 -04:00
Mark Banner 314a1804e2 Bug 1350298 - Enable ESLint of nsContextMenu.js, fixing the last issues. Also enable it for finding globals for the browser-window environment. r=jaws
MozReview-Commit-ID: Cl8AFvzR6o8

--HG--
extra : rebase_source : 8ad57d20d53def238bbe214aa2f33f6948e49809
2017-03-24 12:04:36 +00:00
Wes Kocher 2ea6238e55 Merge inbound to central, a=merge
MozReview-Commit-ID: 6od53T3ozcm
2017-03-23 16:15:37 -07:00