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

33 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 676f82a489 Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D43590

--HG--
extra : moz-landing-system : lando
2019-08-27 14:51:29 +00:00
Mark Banner a05a7163d5 Bug 1551829 - Upgrade to ESLint 6.1.0. r=mossop
This picks up various improvements, especially to how configurations are handled and some new rules.

Differential Revision: https://phabricator.services.mozilla.com/D37271

--HG--
extra : moz-landing-system : lando
2019-08-21 19:08:44 +00:00
Nicolas Chevobbe fe2f310301 Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola.
Differential Revision: https://phabricator.services.mozilla.com/D38093

--HG--
extra : moz-landing-system : lando
2019-07-17 10:35:44 +00:00
yulia 5f77a853c5 Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

Differential Revision: https://phabricator.services.mozilla.com/D32697

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:17 +00:00
Narcis Beleuzu 7d018750a1 Backed out 13 changesets (bug 1494796) for dt failures on browser_dbg-navigation.js . CLOSED TREE
Backed out changeset 5db908b26d50 (bug 1494796)
Backed out changeset c48f00f0df72 (bug 1494796)
Backed out changeset 591453b88e8b (bug 1494796)
Backed out changeset a14e820311bc (bug 1494796)
Backed out changeset 0e214d450b35 (bug 1494796)
Backed out changeset 1a4ab8b35a85 (bug 1494796)
Backed out changeset fe1559f5f1d4 (bug 1494796)
Backed out changeset 35d967de4223 (bug 1494796)
Backed out changeset 1d21a55cae15 (bug 1494796)
Backed out changeset 33eec873a43e (bug 1494796)
Backed out changeset 25e69c21dc2e (bug 1494796)
Backed out changeset b900d41c8ae8 (bug 1494796)
Backed out changeset c2a034e34fa6 (bug 1494796)
2019-06-14 07:20:42 +03:00
yulia 607a83590c Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

Differential Revision: https://phabricator.services.mozilla.com/D32697

--HG--
extra : moz-landing-system : lando
2019-06-14 00:18:17 +00:00
Andrei Oprea 6c4e640dae Bug 1553926 - Add fetch-options eslint plugin to mozilla central r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D32723

--HG--
extra : moz-landing-system : lando
2019-06-06 11:31:20 +00:00
Victor Porof 35ecad1c2c Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast
Differential Revision: https://phabricator.services.mozilla.com/D30926

--HG--
extra : moz-landing-system : lando
2019-05-17 15:50:29 +00:00
Mihai Alexandru Michis 766636073f Backed out changeset 8952fe75cb7a (bug 1551218) for causing linting failures. CLOSED TREE 2019-05-17 16:37:40 +03:00
Victor Porof e4c63108e7 Bug 1551218 - Part 1: Enable running top-level eslint for the devtools debugger, r=Standard8,jlast
Differential Revision: https://phabricator.services.mozilla.com/D30926

--HG--
extra : moz-landing-system : lando
2019-05-17 12:47:41 +00:00
Mark Banner 8b27241809 Bug 1536589 - Update ESLint and associated modules. r=mossop
Depends on D26543

Differential Revision: https://phabricator.services.mozilla.com/D26544

--HG--
extra : moz-landing-system : lando
2019-04-08 20:06:38 +00:00
Mark Banner bb846083ae Bug 1530451 - Add debugger eslint plugins to the global package.json. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D26542

--HG--
extra : moz-landing-system : lando
2019-04-08 20:07:22 +00:00
Mark Banner 73f1f5f35d Bug 1517707. Update ESLint related modules to latest versions. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D15715

--HG--
extra : moz-landing-system : lando
2019-01-04 16:44:49 +00:00
Mark Banner 21632ba53b Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander
packge-lock.json and tools/lint/eslint/manifest.tt were generated automatically by running tools/lint/eslint/setup.sh, as per previous revisions to package.json.

I've intentionally kept the package.json file simple for now, we can extend it as we get the requirements defined for vendoring new node modules.

Differential Revision: https://phabricator.services.mozilla.com/D7272

--HG--
extra : moz-landing-system : lando
2018-10-01 17:28:45 +00:00
Mark Banner 9b1b5e2821 Bug 1493654 - Upgrade eslint-plugin-html to 4.0.6 to pick up performance fix. r=mossop
Also upgrade eslint and eslint-plugin-react whilst we're here.

Differential Revision: https://phabricator.services.mozilla.com/D6659

--HG--
extra : moz-landing-system : lando
2018-09-24 15:33:56 +00:00
Mark Banner 226dbd7bdc Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop
MozReview-Commit-ID: 7yvvXKxYodA

Differential Revision: https://phabricator.services.mozilla.com/D2834

--HG--
extra : moz-landing-system : lando
2018-08-07 14:46:19 +00:00
Mark Banner 42fb2abfdb Bug 1471540 - Update eslint-plugin-react to 7.10.0. r=ahal
MozReview-Commit-ID: Bg4ayKKxDg1

Differential Revision: https://phabricator.services.mozilla.com/D2325

--HG--
extra : moz-landing-system : lando
2018-07-25 18:09:41 +00:00
Mark Banner 1933dd3a48 Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal
MozReview-Commit-ID: 3u1FeN5wVwf

--HG--
extra : rebase_source : ca88ffff457fa01148189bb317bd09af06695df5
2018-05-24 16:54:54 +01:00
Mark Banner 88e4fd5825 Bug 1456076 - Update ESLint to 4.19.1 & eslint-plugin-html to 4.0.3. r=mossop
MozReview-Commit-ID: Gs6T8AsLPPo

--HG--
extra : rebase_source : bf189ef047294ea405d8e7628eae94daa6d93e89
2018-04-23 11:33:31 +01:00
Mark Banner 0f3ec963be Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop
Also change eslint-plugin-mozilla's globals.js to use eslint-scope rather than escope as
ESLint 4.x changed to eslint-scope. This avoids dependency issues that were masked by the
depedencies of eslint-plugin-no-unsanitized's previous version.

MozReview-Commit-ID: 6wLY7Oj0am3

--HG--
extra : rebase_source : 863313d7907e8246d1f5b0ee83164cc0f943f8f6
2018-03-05 10:34:38 +00:00
Mark Banner 8387fb332e Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop
MozReview-Commit-ID: 6S8Fq7yHISq

--HG--
extra : rebase_source : 719181833e15bd299a20239ac546734dbb11509a
2018-02-21 16:00:24 +00:00
Mark Banner b4f572f5fa Bug 1436389 - Upgrade ESLint to version 4.17.0. r=mossop
MozReview-Commit-ID: I4KBELxhBlM

--HG--
extra : rebase_source : d206fb88f8c70d161cc0541a068db1b2f02e7a37
2018-02-07 16:01:29 +00:00
Mark Banner c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Ricky Chien ba3ed5556d Bug 1410782 - Fix props.connector is undefined when running launchpad r=Honza
MozReview-Commit-ID: L0UbcaLfrOS

--HG--
extra : rebase_source : de350aba1587a28e363b024be0f9ce00b32755af
2017-10-23 15:39:47 +08:00
Mark Banner 7768aaa6a6 Bug 1380956 - List only the directly required dependencies for ESLint in the top-level package.json. r=ahal
MozReview-Commit-ID: 9a4FwScmtVL

--HG--
extra : rebase_source : 651fc65f91c5bb02690a145c502ffbf1ec3212cc
2017-07-14 12:21:54 +01:00
Mark Banner 48fff1cefe Bug 1379092 - Update eslint-plugin-react to 7.1.0 for ESLint 4 compatibility. r=mossop
MozReview-Commit-ID: HZbAFZnufUr

--HG--
extra : rebase_source : b7247fa34c074c02b8c881d23e69a86cb9e53223
2017-06-21 15:06:04 +01:00
Frederik Braun 92e797f912 Bug 1351608 - Add eslint-plugin-no-unsanitized to eslint-plugin-mozilla r=Standard8.
MozReview-Commit-ID: MLaU5REYF
2017-07-03 20:07:00 +01:00
Panos Astithas aa041b451e Bug 1371669 - Add support for npm 5. r=standard8
MozReview-Commit-ID: 1X5w1Ui7nKf

--HG--
extra : rebase_source : 80db388c43451114f8c76671a17de2c84f113fd4
2017-06-09 17:18:52 +03:00
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 3dd96b34b3 Bug 1355776 - Upgrade ESLint to version 3.19.0 to pick up autofix improvements and other fixes. r=mossop
Pick up autofix improvements in 3.19.0. Upgrade eslint-plugin-react. Also fix issues with the package.json file and the ESLint node_modules upload script.

MozReview-Commit-ID: IDZ1n4qTTuv

--HG--
extra : rebase_source : aa97cd6f314ce10d16d12446e50a27d6f994a9f1
2017-04-12 12:07:01 +01:00
Mark Banner b8e9cadef9 Bug 1305023 - Move ESLint's package.json and node_modules to the top level to improve editor integration. r=gps
Editors generally look for configurations at the top level of a project. For ESLint, they also look for the specific binary in node_modules before defaulting to the system binary. Whilst you can override the location, generally it doesn't work well when switching between projects.

The custom in-tree libraries make setup of a system ESLint more difficult as well.

Therefore to make it simple for developers to pick up the ESLint integrations with Editors, by moving the package.json and associated node_modules to the top-level directory.

MozReview-Commit-ID: 1pQpd7hTQ61

--HG--
rename : tools/lint/eslint/npm-shrinkwrap.json => npm-shrinkwrap.json
rename : tools/lint/eslint/package.json => package.json
extra : rebase_source : 9d69d791f86b5c55b1fcd5f6449f0ab84e56b05c
2017-03-22 12:27:00 +01:00