Commit Graph

242 Commits

Author SHA1 Message Date
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
Mark Banner
0eb1f2ca26 Bug 1349203 - Upgrade ESLint to version 3.18.0 to pick up performance and other fixes. Also update other dependencies for ESLint. r=mossop
MozReview-Commit-ID: C1oB0pQ3fev

--HG--
extra : rebase_source : 93e63db48f815e173b80611ae592806e4ef43fae
2017-03-21 14:50:45 +01:00
J. Ryan Stinnett
f71ff2641e Bug 1349009 - Fix ESLint errors in responsivedesign.jsm. r=tromey
MozReview-Commit-ID: Jg1MleQYV9W

--HG--
extra : rebase_source : ca8c329ccd6d9989ccb1ed414cef95309cc54767
2017-03-20 17:07:07 -05:00
Fabien Casters
7b53fcdbb6 Bug 1325988 - Fix ESLint issues in devtools/server/tests/mochitest/ r=tromey
MozReview-Commit-ID: BFaOv5i5Tun

--HG--
extra : rebase_source : 5c2b5d1867eb5b48c56725b87d71dae72a83eb34
2017-03-13 21:15:44 +01:00
J. Ryan Stinnett
6513a20684 Bug 1348112 - devtools-source-map v0.2.1: Initial landing from GitHub. r=jdescottes
MozReview-Commit-ID: tOXDvHEZEs

--HG--
extra : rebase_source : b5874297f0313f9b68e039ebef5c6b461514450d
2017-03-16 16:17:25 -05:00
Mark Banner
8c7c2ed4f0 Bug 1347906 - Add .git/.hg to .eslintignore to help speed up full ESLint runs. r=jaws
MozReview-Commit-ID: 5SmHyfhlCbC

--HG--
extra : rebase_source : a33ef2d1f348f70a0a73d51ee867315a67d904a8
2017-03-16 12:42:49 +00:00
Michael Brennan
8229796378 Bug 1325989 - Resolve ESLint issues in devtools/server/tests/unit. r=jryans
--HG--
extra : rebase_source : 855f1da9fc88af46e8be78c94762a90df29cb75f
2017-03-18 12:26:05 +01:00
Carsten "Tomcat" Book
8fd069a1f2 Merge mozilla-central to autoland 2017-03-14 14:27:38 +01:00
Ruturaj K. Vartak
984e39dd2c Bug 1326331 - Fix Eslint errors in devtools/shared/heapsnapshot/. r=jryans 2017-03-09 21:03:00 -05:00
Mark Banner
561b6cfb0c Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
MozReview-Commit-ID: DUnxVITvZgh

--HG--
extra : rebase_source : abe5adf3b024a45c2804d048f078c6a59a936242
2017-03-03 09:29:14 +00:00
Sam Foster
bb94164fcc Bug 1343945 - Fix lint errors from browser-social.js, remove from ignore list r=jaws
* Added no-undef rule locally as we're not ready to turn on for the whole directory

MozReview-Commit-ID: JpD4KXvvqOn

--HG--
extra : rebase_source : fa8498d0464de76e0a71fd3c4568e3c1c0d22f86
2017-03-03 08:57:20 -08:00
Mark Hammond
de20e8f357 Bug 1317223 (part 2) - add 'doctor' concept and move bookmark validation logic to it. r=tcsc
This patch defines the concept of a "doctor" for collections. The doctor is
responsible for running all validators and deciding whether or not to initiate
a repair request based on the validation results.

MozReview-Commit-ID: 6NLRE6L0OpA
2017-03-02 17:14:31 +11:00
jordan9769
3aa7e13c6a Bug 1311345 - Enable eslint of browser/components/privatebrowsing/ - Initial changes; r=standard8
MozReview-Commit-ID: AD112cmtsk3

--HG--
extra : rebase_source : 77b76cb8183cd20d624eaa0188599722d1e01541
2017-02-28 12:21:00 +00:00
jordan9769
5761e9b0d1 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Initial changes by Sourav, updated by Standard8. r=jaws
MozReview-Commit-ID: 4RFxoV8SkIa

--HG--
extra : rebase_source : 96b24b172cfa957489df37943171ddae07145e84
2016-10-28 02:48:50 +05:30
Fabien CASTERS
d8818577f1 Bug 1326408 - Fix ESLint errors in devtools/client/netmonitor/test and devtools/client/netmonitor/har/test. r=ntim
MozReview-Commit-ID: D2eCfvpXoOJ

--HG--
extra : rebase_source : 261287bd96a878ce86778c214363fbb1b77ca5a0
2017-02-26 17:11:09 +01:00
Masatoshi Kimura
1a3d8247f5 Bug 1342144 - Whitelist some devtools scripts that are formerly versioned. r=jryans
I did not fix files under devtools/ because too many files have ESLint errors and I would like to land the fix ASAP because the change will bitrot very quickly.

Note that currently ESLint ignores these files because of the version parameter. So this patch will not decrease checked files.

MozReview-Commit-ID: 6B2KzOyqkts

--HG--
extra : rebase_source : 3e55a893d12ea2c6073313d5f5d55daf847137bc
2017-02-26 07:54:25 +09:00
Wes Kocher
e84fc624ff Merge inbound to central, a=merge
MozReview-Commit-ID: DpCZgRV1csS
2017-02-24 16:46:12 -08:00
Ruturaj K. Vartak
5db24589b8 Bug 1325987 - Fix ESLint issues in devtools/server/tests/browser/. r=ntim 2017-02-23 20:32:00 -05:00
Mark Banner
a656cedb11 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos

--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
J. Ryan Stinnett
9896e105b8 Bug 1275078 - Fix ESLint issues in toolbox and target files. r=ochameau
MozReview-Commit-ID: 8SoQ2JnTib3

--HG--
extra : rebase_source : 2e987c465c21150265b1d1f1a3a218e71db9bcae
2017-02-22 12:33:20 -06:00
Julian Descottes
671013ca7b Bug 1340205 - cleanup and unignore from eslintdevtools/client/webconsole/utils.js;r=nchevobbe
MozReview-Commit-ID: 2goPtQVSsLF

--HG--
extra : rebase_source : 5e5e5c3306e8080623cb78b276d505cb22bb2215
2017-02-16 18:08:30 +01:00
Tim Nguyen
1ed0b133b2 Bug 1326412 - Fix ESLint issues in devtools/shared/webconsole/test/common.js. r=jryans
MozReview-Commit-ID: A07SFMexvSL

--HG--
extra : rebase_source : 29d2e9b218aeb79521635f3b94ce94e74c1c478d
2017-02-13 19:16:56 +00:00
Tooru Fujisawa
746c9596d6 Bug 1226398 - Part 2: Check dom/indexedDB/ in eslint. r=jaws 2017-02-11 11:47:57 +09:00
Masatoshi Kimura
448874c0f1 Bug 1337748 - Move security-prefs.js from netwerk/ to security/manager/. r=keeler,mcmanus
MozReview-Commit-ID: 2TOJG6tRWJZ

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
extra : rebase_source : e11ef6fa7264edd41e77d65512a2183c737f34dd
2017-02-08 21:16:27 +09:00
Tom Schuster
aeaf8fb38c Bug 1330006 - Land and enable self-hosted JS eslint plugin. r=till,mossop 2017-02-07 21:58:21 +01:00
Ruturaj K. Vartak
b7b3908f8f Bug 1326410 - Fixing ESLint Errors. r=ntim
MozReview-Commit-ID: HZ3iBCW0hEf
2017-02-06 06:53:00 +00:00
Gregory Szorc
6b7016d06b Bug 1322769 - Have eslint ignore servo/; r=manishearth
eslint is complaining about a number of things in servo/. Since servo/
is effectively third party code, just ignore the failures.

MozReview-Commit-ID: 5w80Fn50HM3

--HG--
extra : rebase_source : e6b07f09bd536a6c8ea3d6d8015fe9d9a44dda7a
extra : source : 25d7a78f557aff750085ba7327adfc3941fa8205
2017-02-02 16:05:56 -08:00
Ryan VanderMeulen
b398d33261 Bug 1335048 - Update pdf.js to version 1.7.235. r=bdahl
--HG--
extra : rebase_source : 38512833f596920703557e4daf311464b1c13fdf
2017-01-23 15:32:49 -05:00
Mark Banner
2ecc79b536 Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
MozReview-Commit-ID: 29KwwyZH2jn

--HG--
extra : rebase_source : c4b19fe3714b19b445011ae1c413ca0e624cb46e
2017-01-17 12:25:43 +00:00