Mark Banner
a3393e0d94
Bug 1403928 - Remove unused config/string-format.js, and mark config as a no-js-files directory in .eslintignore. r=glandium
...
config/string-format.js was made obsolete in the removals in bug 1227388.
MozReview-Commit-ID: 1nQwlKhoC0e
--HG--
extra : rebase_source : 6b06e4d7ca2e8fc66fc2d93ade54c813d975acec
2017-09-28 14:55:03 +01:00
Andrew McCreight
256f12363f
Bug 1403961, part 2 - Fix and enable eslint for ipc/. r=billm
...
After the previous patch, all that is needed to pass eslint is some
whitespace fixes I generated using:
./mach eslint --fix ipc
The .eslintrc.js file makes eslint expect XPCShell global variables.
With those two changes, eslint can be enabled for the ipc/ directory.
MozReview-Commit-ID: BqSICp2iV6O
--HG--
extra : rebase_source : ccab8be9fc1ae1116ae55631d3978c39d35cad05
2017-09-29 09:46:32 -07:00
J. Ryan Stinnett
531db1c457
Bug 1305777 - Remove old RDM. r=ochameau
...
MozReview-Commit-ID: gOvvF9bcDT
--HG--
extra : rebase_source : b6220ca4645a7cc64b0563b120c178f895a7ba39
2017-09-26 18:49:54 -05:00
Sebastian Hengst
f05bcdc666
Backed out changeset 6e0cb1927bfe (bug 1305777)
2017-09-29 10:43:36 +02:00
J. Ryan Stinnett
49c743f7f5
Bug 1305777 - Remove old RDM. r=ochameau
...
MozReview-Commit-ID: gOvvF9bcDT
--HG--
extra : rebase_source : 1a0773629ad429e6c485df4c2bf0348504a2c9c5
2017-09-26 18:49:54 -05:00
Julian Descottes
0702847ccf
Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
...
MozReview-Commit-ID: HwhAXHm8ipq
--HG--
rename : devtools/shared/platform/content/.eslintrc.js => devtools/client/shared/webpack/shims/.eslintrc.js
rename : devtools/shared/platform/content/moz.build => devtools/client/shared/webpack/shims/moz.build
rename : devtools/shared/platform/content/clipboard.js => devtools/client/shared/webpack/shims/platform-clipboard-stub.js
rename : devtools/shared/platform/content/stack.js => devtools/client/shared/webpack/shims/platform-stack-stub.js
rename : devtools/shared/platform/content/test/.eslintrc.js => devtools/client/shared/webpack/shims/test/.eslintrc.js
rename : devtools/shared/platform/content/test/mochitest.ini => devtools/client/shared/webpack/shims/test/mochitest.ini
rename : devtools/shared/platform/content/test/test_clipboard.html => devtools/client/shared/webpack/shims/test/test_clipboard.html
rename : devtools/shared/platform/content/test/test_stack.js => devtools/client/shared/webpack/shims/test/test_stack.js
rename : devtools/shared/platform/content/test/xpcshell.ini => devtools/client/shared/webpack/shims/test/xpcshell.ini
rename : devtools/shared/platform/chrome/clipboard.js => devtools/shared/platform/clipboard.js
rename : devtools/shared/platform/chrome/stack.js => devtools/shared/platform/stack.js
extra : rebase_source : d233c0d5b4691f595ec61cae52167921f57ee942
2017-09-27 12:38:23 +02:00
Alexandre Poirot
f2bfc94341
Bug 1399449 - Convert devtools/client/responsivedesign/responsivedesign.jsm to a commonjs module. r=jryans
...
MozReview-Commit-ID: Jl6OGUWnbHN
--HG--
rename : devtools/client/responsivedesign/responsivedesign.jsm => devtools/client/responsivedesign/responsivedesign.js
extra : rebase_source : 329c364fc4c256273b0d02a8119637aed428134c
2017-09-13 14:33:58 +02:00
Kris Maglione
e99cced382
Bug 1371065: Part 1 - Remove external references to the add-on SDK. r=Mossop,glandium
...
MozReview-Commit-ID: D5KyHcg8Ujk
--HG--
extra : rebase_source : 1a74ccb2963f2946a49c8bf720af595151b48fd1
2017-09-12 11:54:47 -07:00
Tom Tromey
1a90ef84f7
Bug 1395545 - test that an invalid source map is reported to the console; r=nchevobbe
...
MozReview-Commit-ID: 4a1auGMOKGT
--HG--
extra : rebase_source : 928871607eef5f77c1a0e1de7d72b82e2fb589fa
2017-08-31 12:03:24 -06:00
Dan Banner
0c789ae13f
Bug 1394820 - Enable ESLint for DownloadIntegration.jsm r=standard8
...
MozReview-Commit-ID: INwMSXSJ31f
--HG--
extra : rebase_source : c7b2b8f0908b28ea606cee2535d279d44bfe9126
2017-08-29 18:57:11 +01:00
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